Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install PIP on Python 3.6?

Tags:

python

pip

I'm trying to Install PIP for python 3.6 and I've looked over YouTube for tutorials but all of them seem to be out of date and none of them have seemed to work. Any information would be helpful so I can carry on with my project.

like image 753
bradley plater Avatar asked Apr 09 '17 08:04

bradley plater


People also ask

Does Python 3.6 have pip?

pip should be bundled with 3.6. Check the bin directory in your distribution, alternatively try pip3 .

How do I manually install pip in Python?

Step 1: Download the get-pip.py (https://bootstrap.pypa.io/get-pip.py) file and store it in the same directory as python is installed. Step 2: Change the current path of the directory in the command line to the path of the directory where the above file exists. Step 4: Now wait through the installation process.

Does pip support Python 3?

It should support Python 3, but it requires setuptools, which is available only for Python 2. How can I install pip with Python 3? related: easy way to install distribute/pip/virtualenv.


1 Answers

pip is bundled with Python > 3.4

On Unix-like systems use:

python3.6 -m pip install [Package_to_install] 

On a Windows system use:

py -m pip install [Package_to_install] 

(On Windows you may need to run the command prompt as administrator to be able to write into python installation directory)

like image 147
fstennet Avatar answered Sep 26 '22 10:09

fstennet