DINKIN / winpython

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

Scipy.sparse not working on WinPython-64bit-3.3.2.3 #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download WinPython-64bit-3.3.2.3
2. >c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\python
3. import scipy.sparse

What is the expected output? What do you see instead?
No output expected.
>>> import scipy.sparse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\site-packages\scipy\sp
arse\__init__.py", line 182, in <module>
    from .csr import *
  File "c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\site-packages\scipy\sp
arse\csr.py", line 15, in <module>
    from .sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
  File "c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\site-packages\scipy\sp
arse\sparsetools\__init__.py", line 5, in <module>
    from .csr import *
  File "c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\site-packages\scipy\sp
arse\sparsetools\csr.py", line 26, in <module>
    _csr = swig_import_helper()
  File "c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\site-packages\scipy\sp
arse\sparsetools\csr.py", line 22, in swig_import_helper
    _mod = imp.load_module('_csr', fp, pathname, description)
  File "c:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\imp.py", line 183, in
load_module
    return load_dynamic(name, filename, file)
ImportError: DLL load failed: The specified module could not be found.

What version of the product are you using? On what operating system?
WinPython-64bit-3.3.2.3 on Windows 7 64 bit.

Please provide any additional information below.
N/A

Original issue reported on code.google.com by steven.s...@gmail.com on 4 Oct 2013 at 12:19

GoogleCodeExporter commented 9 years ago
Same problem on WinPython-64bit-3.3.5.0
Trying to call sklearn which needs to import sparse from scipy
I think the _imp module is lacking, no ? 

Original comment by pier.cor...@gmail.com on 27 Sep 2014 at 12:02

GoogleCodeExporter commented 9 years ago
What I report is on a 64-bit machine, I tried sklearn on a 32-bit machine with 
WinPython-32bit-3.3.5.0 and it works.
I don't find neither _imp, so what I say above about the lack of _imp must be 
wrong (I don't really know where and what should be _imp)

Original comment by pier.cor...@gmail.com on 27 Sep 2014 at 12:10

GoogleCodeExporter commented 9 years ago
I do not see the problem when I use WinPython-64bit-3.3.5.0.  Do you have the 
file 
`WinPython-64bit-3.3.5.0\python-3.3.5.amd64\Lib\site-packages\scipy\sparse\spars
etools\_csr.pyd`?

Original comment by steven.s...@gmail.com on 27 Sep 2014 at 10:50

GoogleCodeExporter commented 9 years ago
I have deleted the folder now... 
So i m not sure, but i had downloaded the package yesterday so if you have it i 
must have it

Original comment by pier.cor...@gmail.com on 28 Sep 2014 at 3:30