r/pythonhelp • u/scrubdumpster • Jul 06 '20
Create Python PATH
Hi - I'm trying to do pip installs, but I get errors saying "is not a recognized as an internal or external command", so I tried following the guide below, but after creating the PATH and typing "Python" in the CMD, I still get "Python is not recognized as an internal or external command, operable program or batch file.
https://projects.raspberrypi.org/en/projects/using-pip-on-windows/4
I installed python from https://www.python.org/downloads/
Also, I'm not sure if this has an effect or not, but I do already have Anaconda installed on my computer, but I need to use PyCharm, which is why I'm trying to "reinstall" Python.
2
Upvotes
2
u/pdepmcp Jul 06 '20
open a console (cmd) and type
paththis will return the actual path that that console uses.
Search for the path where you installed python. If it's not there, search for how to modify path in your os version (windows likes to move things around).
Once you did it, remember that consoles DO NOT read the path when you change it, so you'll have to, at least, open a new one.
This should solve the path issue. Then try again with pip, but consider that pip may need to be installed as well if you work with old python versions <3.4) before you get all the chain working.