0

How does 'pip' work with PYTHON?

The command 'pip' isn't working with my command prompt (console). I have altered the PATH for prompt & it enabled me to access python using it. However, as a novice I am unable to get any packages via pip. Yes, I also have the alternatives and that just works fine (Anaconda), problem solved? No, 'cause my concern is how to access this only using 'pip' which my PC doesn't seem to understand as any command or what-so-ever!

15th Jun 2017, 12:35 PM
Priyabrata Biswas
Priyabrata Biswas - avatar
6 Respuestas
0
Would you please share some further information with us: which module did you try to access via pip and which error message occurs when you try it?
15th Jun 2017, 12:48 PM
Amarie
0
 'pip' is not recognized as an internal or external command, operable program or batch file. This happens everytime I try to use it. Doesn't matter which module I try to access
15th Jun 2017, 1:04 PM
Priyabrata Biswas
Priyabrata Biswas - avatar
0
hmm, looks like you didn't set the path right. What command did you use to set the path?
15th Jun 2017, 1:12 PM
Amarie
0
Well, at first prompt printed the same for command 'python'. Then in the settings I added the directory to python.exe file. Then prompt seemed to recognize the command 'python' & I was able to use it as a python console. But how do I do the same thing for 'pip' command which isn't recognized?
15th Jun 2017, 1:19 PM
Priyabrata Biswas
Priyabrata Biswas - avatar
0
okay. try this: go to advanced system settings and click on environment variables. A window should pop up. Find path and click Edit: there you should hit the new button and enter: "C:\Python36" and "C:\Python36\Scripts" click ok
15th Jun 2017, 1:36 PM
Amarie
0
another option is maybe to launch the windows installer again and change their the add path value
15th Jun 2017, 1:40 PM
Amarie