hyiltiz / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Trouble importing numpy in idle #762

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
Python 2.7.9.0
2. Which components have you installed (Python(x,y) installer:
componentpage):
    "Full" component selection

3. Have you selected the option "Customize installation directories"?
 No

4. If the answer to 3. is yes, what installation directories have you
chosen?

5. Where did you install Python(x,y) itself?
    default path

6. Have you installed Python(x,y):
    For "All users"

7. What is your operating system?
    Windows Vista

8. Is the operating system 64 bit?
    Yes

9. When you installed Python(x,y), were you logged in as :
    an administrator of the machine

10. If you are using Windows Vista/7, have you installed Python(x,y):
    simply by double-clicking on the installer

11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):
    you didn't do anything, you installed Python(x,y) directly on your
machine without precaution

What steps will reproduce the problem?
1. If I open Idle, I try:
  >>>import numpy

and get the following error:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import numpy
  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 module could not be found.

2. If I attempt to import numpy again:
   >>>import numpy
I get the following error:

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    import numpy
  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 17, in <module>
    from . import scimath as emath
ImportError: cannot import name scimath
>>> 

How can I successfully import numpy into Idle?

Thank you!

Original issue reported on code.google.com by ellis...@gmail.com on 5 Feb 2015 at 6:42