Skip to content Skip to sidebar Skip to footer

Installing Pip On Windows?

I tried to install pip on windows i.e C:\Python34>python get-pip.py also i set the path for python but it gives an message i.e. python: can't open file 'get-pip.py': [Errno 2]

Solution 1:

You can install pip installer from windows command prompt first download the get-pip.py from the internet from this site https://bootstrap.pypa.io/get-pip.py then run the file from command prompt

python get-pip.py

This will download and install the pip installer into your machine to use it use the following command

pip install <package_name>

or if that doesn't work use;

python -m pip install <package_name>

or you can use this;

py -3 -m pip install <package_name>

To update pip use the following command;

python -m pip install -U pip

Solution 2:

Python comes with pip if you you select the option. If you did, just upgrade it.

If you are unsure of the instruction go to this link which is the official pip website. Make sure that your environment variables has the scripts folder and python folder in PATH.

Post a Comment for "Installing Pip On Windows?"