コードに がある場合、import sklearn
使用後py2exe
「exe」ファイルを実行すると、次のエラー ログが表示されます。
Traceback (most recent call last):
File "HelloSklearn.py", line 17, in <module>
File "sklearn\__init__.pyc", line 32, in <module>
File "sklearn\base.pyc", line 8, in <module>
File "scipy\sparse\__init__.pyc", line 191, in <module>
File "scipy\sparse\csgraph\__init__.pyc", line 146, in <module>
File "scipy\sparse\csgraph\_shortest_path.pyc", line 12, in <module>
File "scipy\sparse\csgraph\_shortest_path.pyc", line 10, in __load
File "_shortest_path.pyx", line 18, in init scipy.sparse.csgraph._shortest_path(scipy\sparse\csgraph\_shortest_path.c:14235)
ImportError: No module named _validation