python - pycharm2.7.3无法import模块
巴扎黑
巴扎黑 2017-04-18 09:54:40
0
2
869

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.截图:

巴扎黑
巴扎黑

reply all (2)
大家讲道理

pip install pyperclip

    左手右手慢动作

    Are you using different python versions, and one version does not have this module installed?

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!