Python(x,y) interferes with earlier Numpy installation



I am running Python 2.7.5 on Windows 7 and installed Numpy, which worked.
Then I installed Python(x,y) from a file Python(x,y)-, and now running
the script

from numpy import array, size, shape, min, max, sum
a = array([1, 2, 3])
print shape(a)

gives the error messages

Traceback (most recent call last):
File "", line 1, in <module>
from numpy import array, size, shape, min, max, sum
File "c:\python27\lib\site-packages\numpy\", line 153, in <module>
from . import add_newdocs
File "c:\python27\lib\site-packages\numpy\", line 13, in <module>
from numpy.lib import add_newdoc
File "c:\python27\lib\site-packages\numpy\lib\", line 18, in <module>
from .polynomial import *
File "c:\python27\lib\site-packages\numpy\lib\", line 19, in <module>
from numpy.linalg import eigvals, lstsq, inv
File "c:\python27\lib\site-packages\numpy\linalg\", line 50, in <module>
from .linalg import *
File "c:\python27\lib\site-packages\numpy\linalg\", line 29, in <module>
from numpy.linalg import lapack_lite, _umath_linalg
ImportError: DLL load failed: The specified path is invalid.

How can I get Numpy working again? Thanks.

Martin Schöön

Den 2014-02-13 skrev [email protected] said:
I fixed the problem by reinstalling Numpy.


Just one note since I happened to look into updating Python(x,y)
at work today and stumbled on this: The Python(x,y) guys
recommend that one removes other Python installations prior to
installing Python(x,y) or there may be interference.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Latest member

Latest Threads