Hi,

the most recent versions of sklearn (0.14.1) and PyInstaller (from GitHub), 
do not seem to work together on Windows 7. When I use PyInstaller on the 
following, simple file:

import sklearn.mixture
print 'No problems'

the generated executable throws the following error:

Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "C:\pyinstaller\PyInstaller\loader\pyi_importers.py", line 270, in 
load_module
    exec(bytecode, module.__dict__)
  File "c:\installtest\build\main\out00-PYZ.pyz\sklearn.mixture", line 5, 
in <module>
  File "C:\pyinstaller\PyInstaller\loader\pyi_importers.py", line 270, in 
load_module
    exec(bytecode, module.__dict__)
  File "c:\installtest\build\main\out00-PYZ.pyz\sklearn.mixture.gmm", line 
 15, in <module>
  File "C:\pyinstaller\PyInstaller\loader\pyi_importers.py", line 270, in 
load_module
    exec(bytecode, module.__dict__)
  File "c:\installtest\build\main\out00-PYZ.pyz\sklearn.utils", line 17, in 
<module>
  File "C:\pyinstaller\PyInstaller\loader\pyi_importers.py", line 270, in 
load_module
    exec(bytecode, module.__dict__)
  File "c:\installtest\build\main\out00-PYZ.pyz\sklearn.utils.sparsetools", 
line 3, in <module>
  File "C:\pyinstaller\PyInstaller\loader\pyi_importers.py", line 409, in 
load_module
    module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
  File "_min_spanning_tree.pyx", line 8, in init 
sklearn.utils.mst._min_spanning
_tree (sklearn\utils\sparsetools\_min_spanning_tree.c:4754)
ImportError: No module named _graph_validation

Any ideas what causes this and how to fix it? Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to