推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
jxylon
V2EX  ›  Python

pip 升级到 10 之后报错,求助

  •  
  •   jxylon · Apr 22, 2018 · 6772 views
    This topic created in 2968 days ago, the information mentioned may be changed or developed.

    Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2017.3\helpers\packaging_tool.py", line 192, in main retcode = do_install(pkgs) File "C:\Program Files\JetBrains\PyCharm 2017.3\helpers\packaging_tool.py", line 109, in do_install return pip.main(['install'] + pkgs) AttributeError: module 'pip' has no attribute 'main'

    我找了好多办法都没有用,求助

    9 replies    2018-07-02 19:20:56 +08:00
    snal123
        1
    snal123  
       Apr 22, 2018 via iPhone
    我也是…
    jxylon
        2
    jxylon  
    OP
       Apr 22, 2018
    @snal123 兄弟我更新了 pycharm 就 ok 了
    Sylv
        3
    Sylv  
       Apr 22, 2018 via iPhone   ❤️ 1
    slack
        4
    slack  
       Apr 23, 2018 via Android
    我也是,import requests 库升级后报错
    greatx
        5
    greatx  
       Apr 23, 2018
    卸载后,用 get-pip.py 安装成功。
    keithszc
        6
    keithszc  
       Apr 23, 2018
    升级 pycharm
    或者看看这个 http://www.cnblogs.com/Chians-DW/p/8858212.html
    chengxiao
        7
    chengxiao  
       Apr 23, 2018
    我也是 只能别扭着用 python3 -m pip 先凑合着....
    jingniao
        8
    jingniao  
       Apr 23, 2018 via Android
    pip10 似乎移动了一些东西,在 changelog 也没说明
    iyouyue
        9
    iyouyue  
       Jul 2, 2018
    我也遇到了这个问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6015 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 03:24 · PVG 11:24 · LAX 20:24 · JFK 23:24
    ♥ Do have faith in what you're doing.