1.问题:pycharm2.7.3无法import pyperclip模块,已经从https://pypi.python.org/pypi/...下载安装过pyperclip-1.5.27,但是仍然无法导入
2.代码:
import re
import pyperclip
phoneRegex = re.compile(r'''(
(\d{3}|\(\d{3}\))? # area code
(\s|-|\.)? #
(\d{3})
(\s|-|\.)
(\d{4})
(\s*(ext|x|ext.)\s*(\d{2,5}))?
)''',re.VERBOSE)3.报错信息:ImportError: No module named pyperclip
4.截图:

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
pip install pyperclip