

To install NumPy with pip, bring up a terminal window and type: $ pip install numpy

To install NumPy, open the Anaconda Prompt and type: > conda install numpy If you use a version of Python from or a version of Python that came with your operating system, the Anaconda Prompt and conda or pip can be used to install NumPy. If you installed the Anaconda distribution of Python, NumPy comes pre-installed and no further installation steps are necessary. Depending on which distribution of Python you use, the installation method is slightly different. But for now, 3.4 is probably OK too.Problem Solving with Python Book Constructionīefore NumPy's functions and methods can be used, NumPy must be installed. Unfortunately, this doesn't satisfy requirements for Python 3.3. This worked, and now I can use matplotlib in python 3.4 and IDLE for 3.4. I attempted to install matplotlib from the command line. However, my primary goal was to use matplotlib. I tried importing numpy from python 3.4 and it worked. No distributions at all found for python3.3 Output: Requirement already satisfied (use -upgrade to upgrade): numpy in /Library/Framework/amework/Versions/3.4/lib/python3.4/site-packagesĬould not find any downloads that satisfy the requirement python3.3 I tried to install numpy for 3.3: pip3 install numpy python3.3 I don't know if it would have installed for 3.3 if I had completely uninstalled 3.4 first. As stated above, I now have both on my system. This command installed numpy for 3.4, and not 3.3, as intended. There was a lot of output, many lines that looked like: Downloading numpy-1.8.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_Īnd then this output: 10_9_x86_64.whl (12.0MB): 12.0MB downloaded I now have numpy installed correctly for Python 3.4, but not Python 3.3.Įasy_install-3.4 python3.3-config pyvenv-3.4
Numpy for mac how to#
I am lost at how to continue at this point, and if anyone has any suggestions, it would be appreciated. At this points, I feel like I should have that directory in order to continue. But, I figured out how to make ~/Library visible. In fact, the /Library folder appears to be hard to find on Mavericks. Like the user in that topic suggested I should. I do not get /Library/Frameworks/amework/Versions/3.3 Into the terminal, I get /Users/username/anaconda/bin/python

Numpy for mac mac osx#
I looked here, for example: NumPy in IDLE (Python 3.3.2) on Mac OSx 10.8 As a new Mac person, I can't seem to follow those directions because my version is the newer Mavericks. Additionally, I could not import numpy into 3.4 anyway.Ī number of the topics on here where people posted similar problems had OS Lion.

However, it looks like there are compatibility issues between matplotlib and 3.4, so back to 3.3. It appears to me that this has not installed numpy for 3.3, but for 3.4. This didn't work either when I attempted to import matplotlib into Python 3.3. # packages in environment at /Users/username/anaconda/envs/myenv: I have tried to use anaconda after these have failed (having never used anaconda before): conda create -n myenv python=3Ĭonda install -n myenv numpy scipy matplotlib ipythonĪfter everything was said and done, I got this message: # All requested packages already installed. It looks like it has 2.7 installed already, but I want 3.3! So, next I tried: pip-3.3 install numpyĪnd I get the following output: pip-3.3: command not found I have downloaded Anaconda and also XCode.Īnd I get the following output: Requirement already satisfied (use -upgrade to upgrade): numpy in. However, I am very new to the Mac world, and have never installed anything via command line before.
Numpy for mac windows#
I have a Windows machine and was able to install everything correctly by simply downloading the. I am trying to install numpy (so that I can run matplotlibs) for python 3.3 on Mac Mavericks.
