I'm using python 3.4.2, and I believe I downloaded it from python.org. I'm running this on a Mac with El Capitan.
I tried downloading scipy using the anaconda's graphic installation interface. After running the installer, I opened IDLE and tried:
>>> import scipy
But got the error:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import scipy
ImportError: No module named 'scipy'
I tried the same thing with numpy, but got the same error.
I then tried installing matplotlib, but this time I figured I should try using pip on the command line. First I tried:
dhcp-wifi-8021x-155-41-121-77:~ theMAN$ pip install matplotlib
Requirement already satisfied: matplotlib in
./anaconda/lib/python3.6/site-packages
Requirement already satisfied: numpy>=1.7.1 in
./anaconda/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: six>=1.10 in
./anaconda/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: python-dateutil in
./anaconda/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: pytz in ./anaconda/lib/python3.6/site-
packages (from matplotlib)
Requirement already satisfied: cycler>=0.10 in
./anaconda/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6
in ./anaconda/lib/python3.6/site-packages (from matplotlib)
But trying to import scipy, numpy, and matplotlib still returned the same errors. I also tried uninstalling and reinstalling scipy with pip, but that didn't change anything.
Are the modules not installing properly? Are they installed but I'm not importing them right?
pip install scipy... This package is known to be somewhat tricky. That's why some people usecondainstead ofpip