Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66222 > unrolled thread

Python(x,y) interferes with earlier Numpy installation

Started bybeliavsky@aol.com
First post2014-02-13 11:50 -0800
Last post2014-02-13 21:31 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Python(x,y) interferes with earlier Numpy installation beliavsky@aol.com - 2014-02-13 11:50 -0800
    Re: Python(x,y) interferes with earlier Numpy installation beliavsky@aol.com - 2014-02-13 12:56 -0800
      Re: Python(x,y) interferes with earlier Numpy installation Martin Schöön <martin.schoon@gmail.com> - 2014-02-13 21:31 +0000

#66222 — Python(x,y) interferes with earlier Numpy installation

Frombeliavsky@aol.com
Date2014-02-13 11:50 -0800
SubjectPython(x,y) interferes with earlier Numpy installation
Message-ID<8d25f041-4d53-428d-9701-24a1622a8d11@googlegroups.com>
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)-2.7.5.2.exe, 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 "x.py", line 1, in <module>
    from numpy import array, size, shape, min, max, sum
  File "c:\python27\lib\site-packages\numpy\__init__.py", line 153, in <module>
    from . import add_newdocs
  File "c:\python27\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "c:\python27\lib\site-packages\numpy\lib\__init__.py", line 18, in <module>
    from .polynomial import *
  File "c:\python27\lib\site-packages\numpy\lib\polynomial.py", line 19, in <module>
    from numpy.linalg import eigvals, lstsq, inv
  File "c:\python27\lib\site-packages\numpy\linalg\__init__.py", line 50, in <module>
    from .linalg import *
  File "c:\python27\lib\site-packages\numpy\linalg\linalg.py", 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.

[toc] | [next] | [standalone]


#66239

Frombeliavsky@aol.com
Date2014-02-13 12:56 -0800
Message-ID<e91662a1-4379-453d-ab23-4615e41aa549@googlegroups.com>
In reply to#66222
I fixed the problem by reinstalling Numpy.

[toc] | [prev] | [next] | [standalone]


#66253

FromMartin Schöön <martin.schoon@gmail.com>
Date2014-02-13 21:31 +0000
Message-ID<bm4ru1Fl3i0U2@mid.individual.net>
In reply to#66239
Den 2014-02-13 skrev beliavsky@aol.com <beliavsky@aol.com>:
> I fixed the problem by reinstalling Numpy.

Good.

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.

/Martin

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web