搜索

首页  >  问答  >  正文

python - pip install pyperclip出错,如何正确安装呢?

安装pyperclip不成功,

C:\Users\Administrator>pip install pyperclip
Traceback (most recent call last):
  File "C:\Users\Administrator\Anaconda3\Scripts\pip-script.py", line 3, in <module>
    import pip
  File "C:\Users\Administrator\Anaconda3\lib\site-packages\pip\__init__.py", line 21, in <module>
    from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
  File "C:\Users\Administrator\Anaconda3\lib\site-packages\pip\_vendor\requests\__init__.py", line 65, in <module>
    from . import utils
  File "C:\Users\Administrator\Anaconda3\lib\site-packages\pip\_vendor\requests\utils.py", line 23, in <module>
    from .compat import parse_http_list as _parse_list_header
  File "C:\Users\Administrator\Anaconda3\lib\site-packages\pip\_vendor\requests\compat.py", line 58, in <module>
    from urllib.request import parse_http_list, getproxies, proxy_bypass
ImportError: cannot import name 'parse_http_list'
迷茫迷茫2731 天前1482

全部回复(1)我来回复

  • 学习ing

    学习ing2017-06-12 09:29:17

    试试conda install pyperclip

    回复
    0
  • 取消回复