简体   繁体   中英

pip doesn't work even after add to environmental variable windows

I installed pip with get-pip.py, and it seemed that it was done successfully, and I added environmental variables. However, pip doesn't work (not recognized as internal or external command).

It doesn't work even if I write on the command line: "C:\\Users...\\python-3.7.1-embed-amd64\\Scripts\\pip.exe" install numpy

I use windows 10, python 3.7, and i don't have admin rights. I edited user variables, also i asked admin to edit system environmental variables, but it didn't helped.

In case write path to pip.exe manually in the command line, it doesn't work as well. (Pip and other expected files present in the Script folder!)

env path

pip install

To install packages, you need admin rights.

  1. Start "cmd" as administrator.
  2. Write your command

If you get error like:

Not recognized as internal or external command

if you get this error when you write "help" or other system commands, try start cmd using another way.

else, write not:

pip install package

but:

py -m pip install package

if you need python shell:

py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM