I have problemm with downloading packeges. If I write in cmd:
pip install matplotlib
this happens:
'pip' is not recognized as an internal or external command, operable program or batch file.
I corrected my path beacuse of this error
Here is what I get if type echo %PATH%
C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Lenovo\FusionEngine;C
:\Program Files (x86)\Intel\TXE Components\TCS\;C:\Program Files\Intel\TXE Compo
nents\TCS\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\Sy
stem32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files
\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Common Files\lenovo\e
asyplussdk\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Calibr
e2\;C:\Python36\Scripts
But the same error keeps coming up, so any help will be appreciated! Maybe I should also mention I have Python 3.6
EDIT: If it's helpful, here is what hapens when I write: import sys print(sys.executable)
I get: C:\\Users****\\AppData\\Local\\Programs\\Python\\Python36-32\\python.exe
**** are just cover for real name
Are you sure you have pip installed?
Follow these instructions to download and install pip.
Download get-pip.py to a folder on your computer. Open a command prompt window and navigate to the folder containing get-pip.py. Then run python get-pip.py
. This will install pip.
The link below explains the installation of Python and pip in Windows:
https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation
Basically, download and run the following command:
python get-pip.py
When calling echo %PATH% code shoud look like:
blah blah long list of stuff;C:\\Program Files (x86)\\Calibre2\\;C:\\Users***\\AppData\\Local\\Programs\\Python\\Python36- 32;C:\\Users***\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts
To correct this use GUI .
All credit to: https://www.reddit.com/r/learnpython/comments/6evsaz/issue_with_pip/
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.