I am a beginner and am trying to install some modules in Python on OSX. I want to install SymPy.
One site says that I should run this in Terminal:
pip3 install SymPy
I ran it and I got this:
Aaryans-Macbook:~ apple$ pip3 install SymPy
Requirement already satisfied: SymPy in ./anaconda/lib/python3.6/site-packages (1.0)
Aaryans-Macbook:~ apple$
If I run Python in my Terminal and try importing SymPy, it works!
However, in my IDLE (where I write code), if I try to import it, I get this error:
import sympy
Traceback (most recent call last):
File '<pyshell#0>', line 1, in <module>
import sympy
ModuleNotFoundError: No module named 'sympy'
I have tried every sudo
command in my Terminal but nothing worked.
I know this is very basic stuff but given the beginner, I am please, help me.