473,385 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Questions on installing numpy

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"

3 2561
rzn8tr
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
dwblas
626 Expert 512MB
Today, planet.python.org has a link to "matplotlib and numpy for Python 2.7 on Mac OS X Lion"
Sep 5 '11 #3
rzn8tr
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

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

Similar topics

2
by: Justin Lemkul | last post by:
Hello all, I am hoping someone out there will be able to help me. I am trying to install a program that utilizes NumPy. In installing NumPy, I realized that I was lacking Atlas. I ran into...
13
by: Gary Wessle | last post by:
Hi I am trying to install NumPy in my debian/testing linux 2.6.15-1-686. with no numpy for debian/testing, I am left alone, since the experimental version available by debian will result in a...
1
by: Ken Dere | last post by:
I am trying to install numpy-0.9.8 prior to installing scipy (0.4.9) on a machine running Suse 10.0 with Python 2.4 I am able to get numpy installed to the point when I import it I can do the...
5
by: robert | last post by:
Turning algs for old NumPy modules into numpy code I suffer from this: Upon further processing of returns of numpy calculations, lots of data in an apps object tree will become elementary numpy...
5
by: auditory | last post by:
I am a newbie here I am trying to read "space separated floating point data" from file I read about csv module by searching this group, but I couldn't read space separated values with csv....
1
by: 1960_j | last post by:
I have tried to install numpy and scipy on python 5.2. Using gcc 2.95.3, lapack 3.1.1 and ATLAS 3.6.0. When installin numpy it seems to work but when I try to run test get error no test for numpy....
0
by: jack69 | last post by:
Hi, I'm having troubles installing NumPy on an AMD machine that runs 32-bit Vista. During the install NumPy complains that it cannot find Python 2.5 in the registry. Other packages have no...
3
by: Sean Davis | last post by:
I have a set of numpy arrays which I would like to save to a gzip file. Here is an example without gzip: b=numpy.ones(1000000,dtype=numpy.uint8) a=numpy.zeros(1000000,dtype=numpy.uint8) fd =...
3
by: chapagainanish | last post by:
Hi!! I'm having installation problem for installing numpy and scipy in Cygwin for Python, and am obstruct in madway for project, i followed scipy.org guidelines but there's few error thrown as...
3
by: Rüdiger Werner | last post by:
Hello! Out of curiosity and to learn a little bit about the numpy package i've tryed to implement a vectorised version of the 'Sieve of Zakiya'. While the code itself works fine it is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.