phaplt / winpython

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

Scipy fails unit-tests #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From Python and IPython: scipy.test()
2.
3.

What is the expected output? What do you see instead?
Results: 
WinPython 2.7.3.0 FAILED (KNOWNFAIL=6, SKIP=17, errors=7, failures=1)
WinPython 2.7.3.1 FAILED (KNOWNFAIL=8, SKIP=17, errors=8)

What version of the product are you using? On what operating system?
Windows Vista

Please provide any additional information below.
The initially observed error was in Ipython:

from scipy import special as sp
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-d9fd1fdb62e5> in <module>()
----> 1 from scipy import special as sp

C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\scipy\special\
__init__.py in <module>()
    523 #from special_version import special_version as __version__
    524 
--> 525 from _cephes import *
    526 
    527 from basic import *

ImportError: DLL load failed: Impossibile trovare la procedura specificata.

Original issue reported on code.google.com by alberti....@gmail.com on 17 Oct 2012 at 2:44

GoogleCodeExporter commented 9 years ago
I forgot to specify that OS and winpython installer are 32-bit.

Original comment by alberti....@gmail.com on 17 Oct 2012 at 2:54

GoogleCodeExporter commented 9 years ago
I can't reproduce this bug even in the exact same condition (32-bit OS and 
WinPython).
Anyone else can?

Original comment by pierre.raybaut on 17 Oct 2012 at 3:06

GoogleCodeExporter commented 9 years ago
All the errors that I have are related to the import of cephes.
Below there is the first of similar Import Errors  

NumPy is installed in 
C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\numpy
SciPy version 0.11.0
SciPy is installed in 
C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\scipy
Python version 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit 
(Intel)]
nose version 1.2.1

======================================================================
ERROR: Failure: ImportError (DLL load failed: Impossibile trovare la procedura 
specificata.)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\nose\importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\nose\importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\scipy\integrate\__init__.py", line 50, in <module>
    from quadrature import *
  File "C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\scipy\integrate\quadrature.py", line 5, in <module>
    from scipy.special.orthogonal import p_roots
  File "C:\Temp\pr\WinPython-32bit-2.7.3.1\python-2.7.3\lib\site-packages\scipy\special\__init__.py", line 525, in <module>
    from _cephes import *
ImportError: DLL load failed: Impossibile trovare la procedura specificata.

Original comment by alberti....@gmail.com on 17 Oct 2012 at 3:26

GoogleCodeExporter commented 9 years ago
Latest versions of WinPython:
  * 2.7.5.2 64bit: OK (KNOWNFAIL=16, SKIP=18) <nose.result.TextTestResult run=6130 errors=0 failures=0>
  * 3.3.2.2 64bit: FAILED (KNOWNFAIL=17, SKIP=18, errors=1) <nose.result.TextTestResult run=5995 errors=1 failures=0> -- failure because "scipy.weave only supports Python 2.x" (which is the expected behavior)

Original comment by pierre.raybaut on 15 Aug 2013 at 8:41