宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

错误报告错误报告错误

distpyinstaller-v 4.5.1 distwhereispyinstallerpyinstaller 3360/home/Maya/. local/bin/pyinstallerdistwhereispythoool pyoool usr/bin/python 3.8-config/usr/bin/python/usr/bin/python/bin/python 3.9-config lib/python 3.8/usr/lib python 2.7/etc/python 3.9/usr/etc/python 2.7/etc/python 3.9/python 3.9/usr/lib/python 3.8/usr/locan include/python 3.7 python 3.9/usr/local/python 3.9/usr/share/python VIP _ moviepyinstaller-f-w-if1.ico hello local site-packages 94 info : py installer 33604.5.194 info : python :3.9.598 info : platform 3360 Linux-5.11 documents/python project/1 and mo/VIP _ movie/hello.spec 110 info : upxisnotavailable.113 info 3360 extendingpythonphonpponplable pythonprooths “/usr/local/lib/python 3.9/site-packages “, ‘/home/Maya/documents/python project/1 Xiang mo/VIP _ movie ‘ ] 526 info :检查分析537 info : buildingbecausepathexchanged 537 info : initializingmoduledependencygraph.540 info 3360 fo : analyzing base _ library.zip . 6438 info : processing pre-findmodulepathhhookdistutilsfrom.local/lib/python 3。 pre _ find _ module _ path/hook-distutils.py ‘.6439 info : distutils 3360 retargetingtonon-ven vdir ‘/usr/lib/python 3.9 ‘ 12055 info : cachingmoduledependencygraph . 12435 info : runninganalysisanalysis-00.TOC 12510 info :分析1 xiangmo/VIP _ movie/hello.py 12513 info : processingmodulehooks . 12514 info : loadingmodulehook ‘ hook-_ tkinter py installer/hooks ‘ . 12670 info : checking tree 12682 info : checking tree 12773 warning 3360 tclmodulesdirect tltk/TCL 8.6/TCL8does not exist.12775 info : loadingmodulehook ‘ hook-heapq.py ‘ from ‘/home/Maya/. local/py installer/hooks

hooks’…12796 INFO: Loading module hook ‘hook-multiprocessing.util.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12799 INFO: Loading module hook ‘hook-pickle.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12801 INFO: Loading module hook ‘hook-distutils.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12802 INFO: Loading module hook ‘hook-distutils.util.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12804 INFO: Loading module hook ‘hook-lib2to3.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12828 INFO: Loading module hook ‘hook-encodings.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12936 INFO: Loading module hook ‘hook-xml.etree.cElementTree.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12937 INFO: Loading module hook ‘hook-difflib.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…12940 INFO: Loading module hook ‘hook-xml.py’ from ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks’…13094 INFO: Looking for ctypes DLLs13171 INFO: Analyzing run-time hooks …13179 INFO: Including run-time hook ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py’13183 INFO: Including run-time hook ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py’13189 INFO: Including run-time hook ‘/home/maya/.local/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py’13203 INFO: Looking for dynamic libraries13743 INFO: Looking for eggs13743 INFO: Python library not in binary dependencies. Doing additional searching…13833 INFO: Using Python library /usr/local/lib/libpython3.9.so.1.013844 INFO: Warnings written to /home/maya/Documents/pythonProject/1xiangmo/VIP_MOVIE/build/hello/warn-hello.txt13904 INFO: Graph cross-reference written to /home/maya/Documents/pythonProject/1xiangmo/VIP_MOVIE/build/hello/xref-hello.html13916 INFO: checking PYZ13920 INFO: Building because toc changed13921 INFO: Building PYZ ZlibArchive) /home/maya/Documents/pythonProject/1xiangmo/VIP_MOVIE/build/hello/PYZ-00.pyz14728 INFO: Building PYZ ZlibArchive) /home/maya/Documents/pythonProject/1xiangmo/VIP_MOVIE/build/hello/PYZ-00.pyz completed successfully.14736 INFO: checking PKG14737 INFO: Building because toc changed14737 INFO: Building PKG CArchive) PKG-00.pkg26700 INFO: Building PKG CArchive) PKG-00.pkg completed successfully.26706 INFO: Bootloader /home/maya/.local/lib/python3.9/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run26706 INFO: checking EXE26708 INFO: Rebuilding EXE-00.toc because hello missing26708 INFO: Building EXE from EXE-00.toc26709 INFO: Appending archive to ELF section in EXE /home/maya/Documents/pythonProject/1xiangmo/VIP_MOVIE/dist/hello26806 INFO: Building EXE from EXE-00.toc completed successfully.➜ VIP_MOVIE ls’字符串转 md5 工具.py’ f1.ico f4.ico hello.spec vip_movie.spec build f2.ico fa.ico __pycache__ dist f3.ico hello.py vip_movie.py➜ VIP_MOVIE cd dist ➜ dist lshello vip_movie

报错,原因是什么?怎么解决,求助!!!

➜ dist ./hello [104655] Module object for struct is NULL!Traceback most recent call last): File “struct.py”, line 13, in <module>ModuleNotFoundError: No module named ‘_struct'[104655] Module object for pyimod02_archive is NULL!Traceback most recent call last): File “PyInstaller/loader/pyimod02_archive.py”, line 30, in <module>ModuleNotFoundError: No module named ‘struct'[104655] Module object for pyimod03_importers is NULL!Traceback most recent call last): File “PyInstaller/loader/pyimod03_importers.py”, line 26, in <module>ModuleNotFoundError: No module named ‘pyimod02_archive’Traceback most recent call last): File “PyInstaller/loader/pyiboot01_bootstrap.py”, line 17, in <module>ModuleNotFoundError: No module named ‘pyimod03_importers'[104655] Failed to execute script ‘pyiboot01_bootstrap’ due to unhandled exception! ➜ dist ./vip_movie[105048] Module object for struct is NULL!Traceback most recent call last): File “struct.py”, line 13, in <module>ModuleNotFoundError: No module named ‘_struct'[105048] Module object for pyimod02_archive is NULL!Traceback most recent call last): File “PyInstaller/loader/pyimod02_archive.py”, line 30, in <module>ModuleNotFoundError: No module named ‘struct'[105048] Module object for pyimod03_importers is NULL!Traceback most recent call last): File “PyInstaller/loader/pyimod03_importers.py”, line 26, in <module>ModuleNotFoundError: No module named ‘pyimod02_archive’Traceback most recent call last): File “PyInstaller/loader/pyiboot01_bootstrap.py”, line 17, in <module>ModuleNotFoundError: No module named ‘pyimod03_importers'[105048] Failed to execute script ‘pyiboot01_bootstrap’ due to unhandled exception!