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:
- go the windows cmd prompt
- go to the python directory
- 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:
- Click the search icon and type System Environment
- In System Properties click on Environment Variables
- In System Variables tab click New
- 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 itC:\Users\YOUR USER NAME\AppData\Local\Programs\Python
- Click OK
- Click NEW again!
- 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 itC:\Users\YOUR USER NAME\AppData\Local\Programs\Python
- Click OK
- Find Path in the same tab select it and click Edit
- 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"