我已经升级了我的 ubuntu 发行版,但后来后悔了。我一直在尝试让 pyinstaller 打包我的一个应用程序,但似乎没有任何效果。我总是得到这个回溯,但我无法弄清楚导致这种情况的实际情况。如果有人遇到此问题或知道解决方案,请随时回复!
Traceback (most recent call last):
File "./pyinstaller.py", line 18, in <module>
run()
File "/home/servvs/Python/pyinstaller/PyInstaller/main.py", line 88, in run
run_build(opts, spec_file, pyi_config)
File "/home/servvs/Python/pyinstaller/PyInstaller/main.py", line 46, in run_build
PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
File "/home/servvs/Python/pyinstaller/PyInstaller/build.py", line 1732, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "/home/servvs/Python/pyinstaller/PyInstaller/build.py", line 1681, in build
execfile(spec)
File "main.spec", line 16, in <module>
'termios',])
File "/home/servvs/Python/pyinstaller/PyInstaller/build.py", line 403, in __init__
self.__postinit__()
File "/home/servvs/Python/pyinstaller/PyInstaller/build.py", line 305, in __postinit__
self.assemble()
File "/home/servvs/Python/pyinstaller/PyInstaller/build.py", line 634, in assemble
self._check_python_library(binaries)
File "/home/servvs/Python/pyinstaller/PyInstaller/build.py", line 684, in _check_python_library
raise IOError("Python library not found!")
IOError: Python library not found!