我正在建立一个项目,只是为了好玩,我想把它变成一个可执行文件,但它给了我错误
PyInstaller.exceptions.ImportErrorWhenRunningHook: Failed to import module __PyInstaller_hooks_0_IPython required by hook for module c:\users\waddy\appdata\local\programs\python\python39\lib\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks\hook-IPython.py. Please check whether module __PyInstaller_hooks_0_IPython actually exists and whether the hook is compatible with your version of c:\users\waddy\appdata\local\programs\python\python39\lib\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks\hook-IPython.py:
我正在使用python版本的3.9.1和pyinstaller 4.5.1。我尝试使用给定here的解决方案,但它给出了另一个错误AttributeError: Module 'PyQt5' has no attribute '__version__'
我怎么才能解决这个问题呢?
发布于 2021-08-15 04:14:39
https://stackoverflow.com/questions/68788047
复制相似问题