Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip not working in python 3.5 on Windows 7

I have installed python 3.5 on my Windows 7 machine. When I installed it, I marked the check box to install pip. After the installation, I wanted to check whether pip was working, so I typed pip on the command line and hit enter, but did not respond. The cursor blinks but it does not display anything.

Please help.

Regards.

like image 711
Dimuth Ruwantha Avatar asked Dec 13 '15 04:12

Dimuth Ruwantha


People also ask

How do I use pip in Windows 7?

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.

Why pip is not working in python?

One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot find the tool you're trying to run in your current directory. In most cases, you'll need to navigate to the directory in which the tool is installed before you can run the command to launch it.


3 Answers

Add the Script folder of python to your environment path

or you can do this from command line:

 python -m pip install package-name
like image 109
Vatsal Avatar answered Oct 07 '22 15:10

Vatsal


  1. go the windows cmd prompt
  2. go to the python directory
  3. then type python -m pip install package-name
like image 32
Mike Avatar answered Oct 07 '22 15:10

Mike


run it at the cmd window, not inside the python window. it took me forever to realize my mistake.

like image 6
stephen chai Avatar answered Oct 07 '22 15:10

stephen chai