Skip to content Skip to sidebar Skip to footer

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,

Solution 1:

Add the Script folder of python to your environment path

or you can do this from command line:

 python -m pip install package-name

Solution 2:

  1. go the windows cmd prompt
  2. go to the python directory
  3. then type python -m pip install package-name

Solution 3:

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


Solution 4:

I was having the same problem on Windows 10, This is how I fix it:

  1. Click the search icon and type System Environment
  2. In System Properties click on Environment Variables
  3. In System Variables tab click New
  4. Enter PYTHON3_SCRIPTS for the variable name and C:\Users\YOUR USER NAME\AppData\Local\Programs\Python\Python38-32\Scripts for Variable Value. Don't forget to change (YOUR USER NAME) in the path with your user, And to change your Python version or just go to this path to check it C:\Users\YOUR USER NAME\AppData\Local\Programs\Python
  5. Click OK
  6. Click NEW again!
  7. Enter PYTHON3_HOME for the variable name and C:\Users\YOUR USER NAME\AppData\Local\Programs\Python\Python38-32\ for Variable Value. Don't forget to change (YOUR USER NAME) in the path with your user, And to change your Python version or just go to this path to check it C:\Users\YOUR USER NAME\AppData\Local\Programs\Python
  8. Click OK
  9. Find Path in the same tab select it and click Edit
  10. Click New and type %PYTHON3_SCRIPTS% Then click OK

Now, everything is set. Restart your Terminal and pip should be working now.


Solution 5:

I had the same problem with Version 3.5.2.

Have you tried py.exe -m install package-name? This worked for me.


Post a Comment for "Pip Not Working In Python 3.5 On Windows 7"