Skip to content
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

PR: Fix missing hidden imports for PyInstaller packaging #251

Merged
merged 2 commits into from
Jan 31, 2019

Conversation

jnsebgosselin
Copy link
Owner

This is a follow up of PR #249.

When trying to start GWHAT with the package generated by PyInstaller, we get the following error traceback:

Starting GWHAT...
Traceback (most recent call last):
  File "gwhat\mainwindow.py", line 20, in <module>
  File "C:\Python36-x64\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "site-packages\matplotlib\__init__.py", line 141, in <module>
  File "C:\Python36-x64\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "site-packages\matplotlib\cbook\__init__.py", line 33, in <module>
  File "C:\Python36-x64\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "site-packages\numpy\__init__.py", line 151, in <module>
  File "C:\Python36-x64\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "site-packages\numpy\ctypeslib.py", line 369, in <module>
  File "site-packages\numpy\ctypeslib.py", line 358, in _get_typecodes
  File "site-packages\numpy\ctypeslib.py", line 358, in <dictcomp>
ModuleNotFoundError: No module named 'numpy.core._dtype_ctypes'
[18312] Failed to execute script mainwindow

@jnsebgosselin jnsebgosselin added this to the gwhat-0.4.0 milestone Jan 31, 2019
@jnsebgosselin jnsebgosselin self-assigned this Jan 31, 2019
@jnsebgosselin jnsebgosselin merged commit ec6d593 into master Jan 31, 2019
@jnsebgosselin jnsebgosselin deleted the fix_pyinstaller_packaging branch January 31, 2019 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant