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

Jean-Baptiste Marquette marquett at iap.fr
Mon May 16 12:37:00 EDT 2011


Hi Derek,

Thank you for your suggestion. The file command yields:

file /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so: Mach-O universal binary with 2 architectures
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so (for architecture ppc):	Mach-O bundle ppc
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so (for architecture i386):	Mach-O bundle i386

file $(which jython)
/usr/local/bin/jython: a bash script text executable

jython 
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06) 
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_24

Maybe a problem between i386 and 64-Bit Server VM ?...

Cheers,
JB

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





More information about the AstroPy mailing list