I am trying to install numpy (so that I can run matplotlibs) for python 3.3 on Mac Mavericks. I have a Windows machine and was able to install everything correctly by simply downloading the .exe files. However, I am very new to the Mac world, and have never installed anything via command line before.
I have downloaded Anaconda and also XCode.
I have tried:
pip install numpy
and I get the following output:
Requirement already satisfied (use --upgrade to upgrade): numpy in ./anaconda/lib/python2.7/site-packages
It looks like it has 2.7 installed already, but I want 3.3! So, next I tried:
pip-3.3 install numpy
and I get the following output:
pip-3.3: command not found
I have tried to use anaconda after these have failed (having never used anaconda before):
conda create -n myenv python=3
conda install -n myenv numpy scipy matplotlib ipython
After everything was said and done, I got this message:
# All requested packages already installed.
# packages in environment at /Users/username/anaconda/envs/myenv:
#
ipython 2.2.0 py34_1
matplotlib 1.3.1 np18py34_1
numpy 1.8.2 py34_0
scipy 0.14.0 np18py34_0
This didn't work either when I attempted to import matplotlib into Python 3.3. It appears to me that this has not installed numpy for 3.3, but for 3.4.
So, I installed Python 3.4. However, it looks like there are compatibility issues between matplotlib and 3.4, so back to 3.3... Additionally, I could not import numpy into 3.4 anyway.
A number of the topics on here where people posted similar problems had OS Lion. As a new Mac person, I can't seem to follow those directions because my version is the newer Mavericks. I looked here, for example: NumPy in IDLE (Python 3.3.2) on Mac OSx 10.8
When I type
which python
into the terminal, I get
/Users/username/anaconda/bin/python
I do not get
/Library/Frameworks/Python.framework/Versions/3.3
like the user in that topic suggested I should. In fact, the /Library folder appears to be hard to find on Mavericks.. But, I figured out how to make ~/Library visible. I next
cd Library/Frameworks
ls
and saw:
EWSMac-GC.framework
There was no Python.framework. At this points, I feel like I should have that directory in order to continue. Perhaps not. I am lost at how to continue at this point, and if anyone has any suggestions, it would be appreciated.