Install pip<v8 in python3.2

喜你入骨 提交于 2019-12-01 07:32:31

问题


I fail to install pip in python3.2. The newest version of pip (v8.x) seems to not support python3.2 any more.

So i tried: sudo python3 get-pip.py 'pip<8' but it still seems to install v8.x.

Output:

UserWarning: Support for Python 3.0-3.2 has been dropped. Future versions will fail here.
Traceback (most recent call last):
  File "get-pip.py", line 19178, in <module>
    main()
  File "get-pip.py", line 195, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 82, in bootstrap
    import pip
  File "/tmp/tmpec9tur/pip.zip/pip/__init__.py", line 16, in <module>
  File "/tmp/tmpec9tur/pip.zip/pip/vcs/mercurial.py", line 9, in <module>
  File "/tmp/tmpec9tur/pip.zip/pip/download.py", line 36, in <module>
  File "/tmp/tmpec9tur/pip.zip/pip/utils/ui.py", line 15, in <module>
  File "/tmp/tmpec9tur/pip.zip/pip/_vendor/progress/bar.py", line 48
    empty_fill = u'∙'
                      ^
SyntaxError: invalid syntax

Any ideas?


回答1:


I found the solution:

I used the wrong get-pip, as per documentation of get-pip

use https://bootstrap.pypa.io/3.2/get-pip.py



来源:https://stackoverflow.com/questions/37602120/install-pipv8-in-python3-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!