Sunny
Sunny

Reputation: 25

/usr/bin/python: No module named pip

I am having a bit of trouble getting everything to work on my Mac running El Capitan. I am running 3.5.1. I am under the impression that Pip is included with an install of the above, however when I try to use it to install sympy using the syntax in terminal: python -m pip install SomePackage, I get the error mentioned in the title. I tried running import pip in IDLE, and got no error, so I am quite confused. If I type pip into IDLE, I get:

<module 'pip' from '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/__init__.py'>

Does anybody know what the problem is? Do I need to navigate to a certain directory in Terminal when I run the command?

Upvotes: 2

Views: 5445

Answers (1)

ruthless
ruthless

Reputation: 309

I believe that you can run it by calling pip in the terminal. If you have it already installed.

pip install sympy

Upvotes: 2

Related Questions