python - py2exe import numpy and scipy -
i used py2exe build exe of program uses scipy , numpy , next error in log file when tried run program.
traceback (most recent call last): file "glp2-e admin.pyw", line 24, in <module> file "c:\python34\lib\site-packages\scipy\ndimage\__init__.py", line 161, in <module> .filters import * file "c:\python34\lib\site-packages\scipy\ndimage\filters.py", line 37, in <module> scipy.misc import doccer file "c:\python34\lib\site-packages\scipy\misc\__init__.py", line 51, in <module> scipy.special import comb, factorial, factorial2, factorialk file "c:\python34\lib\site-packages\scipy\special\__init__.py", line 629, in <module> .basic import * file "c:\python34\lib\site-packages\scipy\special\basic.py", line 18, in <module> . import orthogonal file "c:\python34\lib\site-packages\scipy\special\orthogonal.py", line 101, in <module> scipy import linalg file "c:\python34\lib\site-packages\scipy\linalg\__init__.py", line 190, in <module> ._decomp_update import * file "<loader>", line 10, in <module> file "<loader>", line 8, in __load importerror: (no module named 'scipy.linalg.cython_blas') 'y:\\factory\\glp2-e admin (todos los archivos)\\compilaciones\\versiĆ³n 2.1\\dist\\scipy.linalg._decomp_update.pyd'
i have tried thing put setup.py file this:
options ={ 'py2exe': { 'bundle_files' : 3, r'includes':[r'scipy.sparse.csgraph._validation', r'scipy.special._ufuncs_cxx',], 'packages' : ['encodings'], } },
but doesn't work , still error. don't know solve issue... hope can me. thanks.
i have been solve issue adding in "includes" section of setup.py files log file return me missing. after 7 files, program run without error.
Comments
Post a Comment