[SciPy-user] Entought 1.0.0: scipy fails to import

Grant Edwards grante@visi....
Mon Aug 27 11:25:20 CDT 2007


On 2007-08-27, Grant Edwards <grante@visi.com> wrote:
> I can't seem to figure out how to get scipy to work using
> Enthoguht 1.0.0.  A simple "import scypy" crashes:
>
>   $ python
>   Python 2.4.3 - Enthought Edition 1.0.0 (#69, Aug  2 2006, 12:09:59) [MSC v.1310 32 bit (Intel)] on win32
>   Type "help", "copyright", "credits" or "license" for more information.
>  >>> import scipy
>   c:\python24\lib\site-packages\numpy\testing\numpytest.py:634: DeprecationWarning: ScipyTest is now called NumpyTest; please update your code DeprecationWarning)
>   Overwriting info=<function info at 0x01018830> from scipy.misc.helpmod (was <function info at 0x00FB1430> from numpy.lib.utils)
>   Overwriting who=<function who at 0x00FDAA70> from scipy.misc.common (was <function who at 0x00FB1370> from numpy.lib.utils)
>   Overwriting source=<function source at 0x01018AB0> from scipy.misc.helpmod (was<function source at 0x00FB1470> from numpy.lib.utils)
>   RuntimeError: module compiled against version 90907 of C-API but this version of numpy is 1000009
>   Fatal Python error: numpy.core.multiarray failed to import... exiting.
>   
>   This application has requested the Runtime to terminate it in an unusual way.
>   Please contact the application's support team for more information.

I'm beginning to suspect that somehow a new version of numpy
got installed.  Though I'm not sure how.  I think all the stuff
dated Mar 1 is the original Enthuoght install, and numpy is too
new...

$ pwd
/cygdrive/c/Python24/Lib/site-packages

$ ls -ltr

G@grants-virtual /cygdrive/c/Python24/Lib/site-packages

total 4103
-rwxrwxrwx   1 Administrators None     119 Mar 31  2000 README.txt
-rwxrwxrwx   1 Administrators None    2687 Jun 15  2003 roman.py
-rwxrwxrwx   1 Administrators None     141 Oct 31  2003 pythoncom.py
-rwxrwxrwx   1 Administrators None      69 Oct 10  2004 pywin32.pth
-rwxrwxrwx   1 Administrators None   33616 Dec 21  2004 pydot.py
[...]
-rwxrwxrwx   1 Administrators None       9 Aug  2  2006 Numeric.pth
-rwxrwxrwx   1 Administrators None       5 Aug  2  2006 pywin32.version.txt
-rwxrwxrwx   1 Administrators None      32 Aug  2  2006 setuptools.pth
drwxrwxrwx+  4 Administrators None       0 Mar  1 12:54 wx-2.6-msw-unicode-enthought
drwxrwxrwx+  8 Administrators None    4096 Mar  1 12:54 vtk
drwxrwxrwx+  2 Administrators None   16384 Mar  1 12:54 vtk_python
drwxrwxrwx+  8 Administrators None    4096 Mar  1 12:54 mayavi
drwxrwxrwx+  3 Administrators None    4096 Mar  1 12:54 vtkPipeline
drwxrwxrwx+  2 Administrators None    8192 Mar  1 12:56 PyCrust
drwxrwxrwx+  3 Administrators None    4096 Mar  1 12:57 BTrees
drwxrwxrwx+  3 Administrators None    4096 Mar  1 12:57 persistent
drwxrwxrwx+  2 Administrators None    4096 Mar  1 12:57 ThreadedAsync
drwxrwxrwx+  3 Administrators None    4096 Mar  1 12:57 transaction
drwxrwxrwx+  4 Administrators None    4096 Mar  1 12:57 ZConfig
drwxrwxrwx+  3 Administrators None    4096 Mar  1 12:57 zdaemon
drwxrwxrwx+  5 Administrators None   12288 Mar  1 12:57 ZEO
drwxrwxrwx+  4 Administrators None   20480 Mar  1 12:57 ZODB
drwxrwxrwx+  4 Administrators None       0 Mar  1 12:58 zope
[...]
drwxrwxrwx+ 13 Administrators None    4096 May 21 10:23 Scientific
drwxrwxrwx+  3 G              None    8192 May 21 14:01 Gnuplot
drwxrwxrwx+  2 Administrators None    4096 Aug 15 15:07 serial
drwxrwxrwx+ 20 Administrators None    8192 Aug 27 10:21 scipy
drwxrwxrwx+  2 Administrators None   32768 Aug 27 10:21 PIL


-- 
Grant Edwards                   grante             Yow! An air of FRENCH FRIES
                                  at               permeates my nostrils!!
                               visi.com            



More information about the SciPy-user mailing list