How to install pip for a particular version of Python?

5

I have ubuntu 17.10 installed and it came with Python 2.7 and 3.6.

I installed Python 3.4 but I can not install the pip on it, it always goes to the latest version with pip3 which is 3.6 How can I install 3.4?

    
asked by anonymous 23.10.2017 / 18:49

2 answers

2

I recommend running the script get-pip.py as described in documentation of them .

Simply download the file and run it using the python you want the pip to have:

python get-pip.py

or

python3 get-pip.py

or

python2 get-pip.py

or using the full path if you installed python alone for example:

/home/avraham/.pythonz/pythons/CPython-3.4.6/bin/python3 get-pip.py
    
24.10.2017 / 09:18
0

Maybe your problem is resolved at this site: link .

    
25.10.2017 / 16:44