pip not working in python 3.5 on Windows

别说谁变了你拦得住时间么 提交于 2019-12-02 22:22:54

Add the Script folder of python to your environment path

or you can do this from command line:

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

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

I had the same problem with Version 3.5.2.

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

Daniel Lopez

As soon as you open a command prompt, use:

python -m pip install --upgrade pip

then

python -m pip install <<package-name>>

For those with several python versions of python 3 installed in windows: I solved this issue by executing the pip install command directly from my python35 Scripts folder in cmd...for some reason pip3 pointed to python 34 even though python 35 was set first in environmental variables.

I had the issue, and answered this same question sometimes ago. Do open a cmd if in windows OS or linux OS with admistrative privilege. Then python -m pip install --upgrade pip

then

python -m pip install <>

Sumit More

Working on windows and above version than 3.0

First upgrade pip to pip3 by following command:

pip3 install --upgrade setuptools pip

Then install maximum package by following command:

pip3 install <package_name>

I never wrote all package because some package not support to pip or pip3 command.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!