HeleneMuri / pythonxy

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

scipy error after upgrading it to the latest version #773

Closed GoogleCodeExporter closed 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?
2.7.9.0
2. Which components have you installed (Python(x,y) installer:
componentpage):
    a. Have you selected the "Recommended" component selection?
    b. Have you selected the "Full" component selection?
c. Have you selected manually plugins in the component list?
Whatplugins?
a
3. Have you selected the option "Customize installation directories"?
a. Yes
b. No
b
4. If the answer to 3. is yes, what installation directories have you
chosen?

5. Where did you install Python(x,y) itself?
a. default path
b. custom path, which one?
a
6. Have you installed Python(x,y):
    a. For "Current user only"
    b. For "All users"
a
7. What is your operating system?
a. Windows XP
b. Windows Vista
c. Windows 7
d. Windows 8
c
8. Is the operating system 64 bit?
a. Yes
b. No
a
9. When you installed Python(x,y), were you logged in as :
a. a regular user
b. an administrator of the machine
b
10. If you are using Windows Vista/7, have you installed Python(x,y):
a. simply by double-clicking on the installer
    b. by right-clicking on the installer and selecting "Run as an
administrator"
a
11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):
a. you didn't do anything, you installed Python(x,y) directly on your
machine without precaution
b. you uninstalled any previous Python distribution (including the
official .msi)
c. you cleaned the Windows registry by removing all Python-related keys
d. you cleaned the environment variables by removing all deprecated
entries
a
What steps will reproduce the problem?
1.
2.
3.

I've upgraded scipy to the latest version (0.15) via pip install scipy 
--upgrade. I wanted to do this to use a new algorithm for optimization 
problems. After upgrading, I've opened my scipy and just tried from scipy 
import optimize and got the following error (see point below)

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\scipy\optimize\__init__.py", line 177, in <module>
    from ._root import *
  File "C:\Python27\lib\site-packages\scipy\optimize\_root.py", line 20, in <module>
    from . import nonlin
  File "C:\Python27\lib\site-packages\scipy\optimize\nonlin.py", line 122, in <module>
    import scipy.sparse.linalg
  File "C:\Python27\lib\site-packages\scipy\sparse\linalg\__init__.py", line 113, in <module>
    from .matfuncs import *
  File "C:\Python27\lib\site-packages\scipy\sparse\linalg\matfuncs.py", line 20, in <module>
    import scipy.misc
  File "C:\Python27\lib\site-packages\scipy\misc\__init__.py", line 47, in <module>
    from scipy.special import comb, factorial, factorial2, factorialk
  File "C:\Python27\lib\site-packages\scipy\special\__init__.py", line 593, in <module>
    from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal
  File "C:\Python27\lib\site-packages\scipy\special\_ellip_harm.py", line 6, in <module>
    from ._ufuncs import _ellip_harm
ImportError: cannot import name _ellip_harm

Please provide any additional information below.

Original issue reported on code.google.com by servant....@gmail.com on 24 Apr 2015 at 9:08

GoogleCodeExporter commented 9 years ago
Please don't do that. An update to xy with scipy 0.15 will be ready shortly.

If you really want the latest and greatest - try: 
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Original comment by grizzly.nyo on 24 Apr 2015 at 9:39