I'm trying to install numpy on my computer following the instructions here.

I've got the command prompt working to find python after adding it to my path and I installed it from python.org which should have apparently configured pip for usage with installation, but when I try to enter pip --version in my command prompt it says that pip is not recognized as an internal or external command, operable program or batch file. Entering python -m ensurepip --default-pip yields

which looks like it's there, but I can't check the version or do anything else with it from the command prompt. How can I get my command prompt to find pip? I tried adding the above location for pip to my path but it didn't appear to help.

1 Answer
1

When I download python 3.7 from https://www.python.org/downloads/, I can install python from an executable called python-3.7.0.exe found in my Downloads folder. Make sure to check the box "Add Python 3.7 to PATH".

Next, running pip install requests definitely works for me. I can type python in the Command Prompt to enter a python repl, and import requests just fine. (Oh, and also pip install numpy just fine as well.

Thank you -- I see python-3.7.0.exe in my downloads, but my command prompt still doesn't find pip; here's a picture tinypic.com/r/2ykgx3n/9. Should I just try to reinstall, or is there a picture of some other folders I should show you?
– Alec RheaJul 6 '18 at 5:58

I recommend that you attempt to reinstall, unless you are absolutely certain that you had checked the box "Add Python 3.7 to PATH", the first time that you tried to perform the installation.
– NelsJul 6 '18 at 6:08

1

The reinstall worked perfectly, I must not have checked the box. Much appreciated!
– Alec RheaJul 6 '18 at 6:09

It appears that pip successfully installed numpy when I asked it to, but I'm now unable to import numpy to my python scripts -- any simple suggestions, or should I post a separate question? Here is a pic for reference tinypic.com/r/5vsj7c/9.
– Alec RheaJul 6 '18 at 7:08