Not Sure How To Fix This Cmd Command Error?
Solution 1:
Under Windows, pip is stored in the Python scripts folder, e.g. "C:\Python27\Scripts".
How to run pip?
Open a Command line by pressing
[WIN]+Rand typingcmd.exe.Then navigate tho the Scrips folder of your Python installation by typing
cd "C:\Python27\Scripts"(Or where else you've installed Python) into the command line.To run
pipnow typepip.exeinto the command line. This should print a help message.If so, you can use
pip install package_nameto install a Python package.
What I recommend:
Navigating to the Scripts folder every time is very annoying, so you can tell Windows where your pip.exe is stored.
Open the control panel, search for "environment variables" and choose edit environment variables.
When a little window is opened, press the button "Environment variables" on the bottom.
Now, double-click the entry "Path", click "New" and enter "
C:\Python27\Scripts" (If this is your intallation path, see above). Close all windows with clicking "OK", you're done!Now opening a commandline and installing through
pipshould work.
Hope this helps!
Post a Comment for "Not Sure How To Fix This Cmd Command Error?"