By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

Questions on installing numpy

P: 3
I have Python 2.7.2 installed on OS X 10.7.1.

I installed numpy using distribution file numpy-1.6.1-py2.7-python.org-macosx10.3.dmg. It didn't appear to install correctly, so I ran easy_install numpy, which did appear to work.

Python now uses numpy 1.5.1 which (I think) was installed by setuptools in folder:
/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy

Version 1.6.1 resides in:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy

I'm working on installing matplotlib, and at the moment it is complaining about numpy 1.5.1. Also, in the near future I will be moving to a new system (also OS X 10.7.1) and I'd like to understand how to get everything installed properly by then.

What determines which library python uses for a particular package--why is it getting the version from Extras instead of from site-packages?

Edit: I probably should add that I've been using an EPD distribution, which has everything included, but unfortunately I need a newer version of tcl and the license terms are too restrictive.
Sep 3 '11 #1

✓ answered by dwblas

Today, planet.python.org has a link to "matplotlib and numpy for Python 2.7 on Mac OS X Lion"

Share this Question
Share on Google+
3 Replies


P: 3
It turns out that the most recent build of numpy that will install correctly on OS X 10.5+ is version 1.5.1.
Sep 3 '11 #2

Expert 100+
P: 624
Today, planet.python.org has a link to "matplotlib and numpy for Python 2.7 on Mac OS X Lion"
Sep 5 '11 #3

P: 3
I had just found the blog the planet.python.org links to, and after a false start or two managed to get everything working.
Sep 5 '11 #4

Post your reply

Sign in to post your reply or Sign up for a free account.