0

I've set the environment variable "Path" and included D:\Python\Python36-32\Scripts\;D:\Python\Python36-32\; in it.

This is the program installation process with a picture.

This is the program installation process with a picture.

It's a wrong message.

It's a wrong message.

Who can tell me why I got this mistake?

clemens
  • 16,716
  • 11
  • 50
  • 65
  • Possible duplicate of [Why am I getting ImportError: No module named pip ' right after installing pip?](https://stackoverflow.com/questions/32639074/why-am-i-getting-importerror-no-module-named-pip-right-after-installing-pip) – Turn Jan 16 '18 at 06:14
  • Have you tried simply 'python -m pip install scrapy' rather than python.exe? – enumaris Jan 16 '18 at 06:17
  • works perfect on my 64-bit windows 3.6. yes, there's a "scripts" subdir from where you can get `pip.exe` – Jean-François Fabre Jan 16 '18 at 06:33
  • I've use "py -m pip install [package] and python -m pip install [package] to excuted". The error was same. – user9222602 Jan 16 '18 at 06:47

2 Answers2

2

The another way is to add pip to environment variables in windows.
You may refer How to add to the pythonpath in windows 7? to add the same. And then run pip install scrapy.
Syntax:

pip install "package".

AALAP JETHWA
  • 160
  • 11
1

pip.exe file is in the Scripts folder, inside Python root. Try: cd Scripts, pip.exe install package