pippython-3.2

Install pip<v8 in python3.2


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?


Solution

  • 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