New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building with pandas stops executable without any response #5589
Comments
Try with the development version of PyInstaller. That looks like the Conda/NumPy issue that was fixed in #5168.
|
Tested pyinstaller ( Traceback (most recent call last):
File "test.py", line 1, in <module>
import pandas as pd
File "PyInstaller/loader/pyimod03_importers.py", line 531, in exec_module
File "pandas/__init__.py", line 179, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 531, in exec_module
File "pandas/testing.py", line 5, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 531, in exec_module
File "pandas/_testing.py", line 29, in <module>
File "pandas/_libs/testing.pyx", line 1, in init pandas._libs.testing
ModuleNotFoundError: No module named 'cmath'
[18120] Failed to execute script test Same error when building with pyinstaller I'll try using pyinstaller version |
@bwoodsend Using PyInstaller |
Description of the issue
When building an executable the build process completes successfully but when running the generated .exe-file no error appears and the script stops.
I'm not sure if this should be reported to pandas but since this code runs fine as normal python process I think it's a bug of pyinstaller.
Context information (for bug reports)
pyinstaller --version
:4.2
1.1.5
3.6
Did not test on different plattform.
(https://github.com/pyinstaller/pyinstaller/wiki/If-Things-Go-Wrong) and
Make sure everything is packaged correctly
--noupx
or setupx=False
in your .spec-file--debug
topyi-makespec
orpyinstaller
or useEXE(..., debug=1, ...)
in your .spec file.A minimal example program which shows the error
Stacktrace / full error message
No error message / stracktrace
The text was updated successfully, but these errors were encountered: