简体   繁体   中英

PyInstaller Not Work Python 3.5

I want to turn myProgram.py into an executable program. When i run: pyinstaller --onefile --windowed myProgram.py I have this error:

OSError: Python library not found: .Python, libpython3.5.dylib, Python 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.

How can I fix the problem?

Try copletely uninstalling Python and then re-installing it. Programming can be crazy complicated, but sometimes it's as simple as that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM