Hi, I have a problem when importing numpy into python 2.4.1.  I did a 
successful (I think) build and install of Numpy 0.9.8 on a mac osx 
(10.4) intel, but when i try to import numpy into python i get this 
error:

>>> from numpy import*
import core -> failed: Inappropriate file type for dynamic loading
import lib -> failed: Inappropriate file type for dynamic loading
import linalg -> failed: Inappropriate file type for dynamic loading
import dft -> failed: Inappropriate file type for dynamic loading
import random -> failed: Inappropriate file type for dynamic loading

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in -toplevel-
    from numpy import*
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/__init__.py",
 line 49, in 
-toplevel-
    import add_newdocs
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/add_newdocs.py",
 line 2, in 
-toplevel-
    from lib import add_newdoc
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/lib/__init__.py",
 line 5, in 
-toplevel-
    from type_check import *
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/lib/type_check.py",
 line 8, in 
-toplevel-
    import numpy.core.numeric as _nx
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/core/__init__.py",
 line 5, in 
-toplevel-
    import multiarray
ImportError: Inappropriate file type for dynamic loading




Any help anyone could offer as to the cause of this would be most welcome,
Cheers,     Joe Corbett
ps. installing numpy through python 2.3 worked and I was able to import 
numpy into 2.3 fine.

-----------------------------------------------------------------------
This mail sent through University of Auckland http://www.auckland.ac.nz


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to