[AstroPy] import problem (matplotlib ? numpy ?) on Mac Intel, python 2.6

Thomas Robitaille thomas.robitaille at gmail.com
Mon May 16 13:25:07 EDT 2011


Hi JB,

How did you install Numpy? I've seen that kind of error before when there is something wrong with the compilation of the C code for Numpy.

Cheers,
Tom

On May 16, 2011, at 1:03 PM, Jean-Baptiste Marquette wrote:

> Hi all,
> 
> I replaced jython by python in my script, and I got the same error from import atpy.
> 
> I tried the 1.5.1 version of Numpy, without success.
> 
> It seems this is more serious than previously expected... There is something wrong in the kingdom of numpy...
> 
> Cheers
> JB
> 
> I got the same problem 
> Le 16 mai 2011 à 17:55, Derek Homeier a écrit :
> 
>> On 16 May 2011, at 17:02, Jean-Baptiste Marquette wrote:
>> 
>>> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ 
>>> python2.6/site-packages/numpy/core/__init__.py", line 5, in <module>
>>>   import multiarray
>>> ImportError: No module named multiarray
>>> 
>>> I use the latest 1.6.0 version of numpy and 1.0.0 one of matplotlib.
>>> 
>>> My so little experience tells me that this is a deep numpy issue  
>>> rather than a matplotlib one.
>>> 
>> If you have a complete installation of numpy, multiarray should be  
>> present there
>> in ./numpy/core as well - this might point to a version problem (like  
>> 32 bit vs. 64 bit)...
>> Could you get more information on the architecture e.g. with
>> 
>> file /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ 
>> site-packages/numpy/core/multiarray.so
>> file $(which jython)
>> 
>> HTH,
>> 						Derek
>> 
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
> 
> 
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy




More information about the AstroPy mailing list