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
Unable to find "/Library/Python/3.8/include/pyconfig.h" #5582
Comments
How did you install Python? |
I solve this proble by using brew install python 。Thanks |
It's still an issue for me. I tried to satisfy pyinstaller with a brewed python installation, but it still fails the same way, probably because Apples dev tools ship python 3.8 while brew now installs 3.9.
|
#5218 should fix this anyway. |
Just a side note for someone else coming here with the same issue. Pyinstaller run worked fine when running from inside a virtualenv, not sure why. |
mac11.01 python3.8.2(install with Command_Line_Tools_for_Xcode_12.3.dmg)
when i use : pyinstaller -F player.py
the error like
.....
6067 INFO: Loading module hook 'hook-sysconfig.py' from '/Users/ddllmac11/Library/Python/3.8/lib/python/site-packages/PyInstaller/hooks'...
Unable to find "/Library/Python/3.8/include/pyconfig.h" when adding binary and data files.This would mean your Python installation doesn't
come with proper library files. This usually happens by missing development
package, or unsuitable build parameters of Python installation.
--enable-shared
(or,--enable-framework
on Darwin)how to deal with it?
The text was updated successfully, but these errors were encountered: