Python is installed. Idlie works. Cmd is able to find the python app but is unable to find pip. Followed the installer and selected pip installation. Errors in command prompt:traceback (most recent call last): , line 1, in Nameerror: name 'pip's is not defined. What to do?!?!
1 Answer
Pip is more user friendly when used from cmd {Assuming you are on windows and have python installed}
- Click on windows icon
- Type
cmdThis would bring up the command prompt page - Browse through to where your
python.exeis installed. You should also be seeing a folder called "Scripts". Open it. - Copy the folder path. It should be something like
C:....\Python\Scripts\ - Go back to the command prompt window.
- Type
cd C:....\Python\Scripts\and press enter. This should change your current directory to the place wherepipis. - To check your version of pip; type
pip --versionand press enter. - To install different modules via pip, type
pip install (whatever without the brackets)
Follow this link https://projects.raspberrypi.org/en/projects/using-pip-on-windows/3
pipshould be used from command line (i.e. CMD), not from python interactive shell (i.e. that is when you have>>>).