-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Some hooks should get fixed #6118
Comments
The #3198 solution doesn't work either. Here's the build output:
I think it's related to msys2/MINGW-packages#9075 |
The This should be picked up automatically by our pyinstaller/PyInstaller/hooks/hook-sysconfig.py Lines 17 to 23 in cde2448
I suppose we should omit the platform check and try to call |
Thank you so much! It works. I don't know much about this tool, but I think you guys should make a "hook" for EDIT: |
We'll keep this open until that hook has been fixed. Otherwise it'll just get forgotten about. |
Oh, thanks! Anyways, I still have a problem with this hook: 342ecac My theme icons isn't loaded although I add this snippet already:
Here's my GTK config (
EDIT:
|
ModuleNotFoundError: No module named '_sysconfigdata__win32_'
at from sklearn.cluster import MiniBatchKMeans
for some reasonUnder MSYS2/MINGW, we need to collect the platform-specific data module obtained via sysconfig._get_sysconfigdata_name(). That call fails under other python flavors on Windows, but that is better handled by try/except block anyway. Fixes pyinstaller#6118.
) Under MSYS2/MINGW, we need to collect the platform-specific data module obtained via sysconfig._get_sysconfigdata_name(). That call fails under other python flavors on Windows, but that is better handled by try/except block anyway. Fixes #6118.
) Under MSYS2/MINGW, we need to collect the platform-specific data module obtained via sysconfig._get_sysconfigdata_name(). That call fails under other python flavors on Windows, but that is better handled by try/except block anyway. Fixes #6118.
Guys! Please reopen this issue... It still doesn't work: https://github.com/rivanfebrian123/Clusterify/actions/runs/1153665274
The previous commits before I remove |
You're using last release of PyInstaller, and the fix is not part of a release yet... |
Oh... got it. Thanks! |
Description of the issue
It returns
ModuleNotFoundError: No module named '_sysconfigdata__win32_'
atfrom sklearn.cluster import MiniBatchKMeans
for some reasonContext information (for bug reports)
Output of
pyinstaller --version
:4.5.1
Version of Python:
Python 3.9.6
Platform:
MSYS2 MINGW64
How you installed Python:
from MSYS2, the MINGW64 one
Did you also try this on another platform? Does it work there?
Nope
follow all the instructions in our "If Things Go Wrong" Guide
(https://github.com/pyinstaller/pyinstaller/wiki/If-Things-Go-Wrong) and
Make sure everything is packaged correctly
But it didn't catch the program, like it runs it in separate process. I use windowed mode, anyways
--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
window.py
clusterify.spec
Stacktrace / full error message
The text was updated successfully, but these errors were encountered: