Python script to executable error with pandas (py2exe) -
i creating executable python script using py2exe. made executable of same script in past , worked, wanted change , included pandas module in script. not able make executable run. able run setup.py script , create dist folder py2exe, whenever try run .exe file error , in log file says:
file "pandas\_libs\lib.pyx", line 64, in init pandas._libs.lib(pandas\_libs\lib.c:91325) file "<frozen importlib._bootstrap>", line 2237, in _find_and_load file "<frozen importlib._bootstrap>", line 2226, in_find_and_load_unlocked file "<frozen importlib._bootstrap>", line 1191, in _load_unlocked file "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible file "<loader>", line 10, in <module> file "<loader>", line 6, in __load file "pandas\_libs\hashtable.pxd", line 7, in init pandas._libs.interval (pandas\_libs\interval.c:111385) attributeerror: 'module' object has no attribute 'hashtable' does know how fix this? or know module use make executable of scipt imports pandas?
my setup.py script:
from distutils.core import setup import py2exe setup(windows=['kontrollerelvegvegnett.py'], requires=['pandas'])
Comments
Post a Comment