Home > other >  On the issue of the pyinstaller packaged into an exe file,, every brother please give guidance
On the issue of the pyinstaller packaged into an exe file,, every brother please give guidance

Time:09-19

Py program is written in pycharm and run successfully, pyinstaller packaging program without error, but running the program is quote us the following error message and Internet along while to annotation set py files line 86, but my 86 lines don't have anything inside the file, so please to have a look at what went wrong?

Traceback (the most recent call last) :
The File "C: \ Python38 \ Lib \ site - packages \ PyInstaller \ loader \ rthooks \ pyi_rth_pkgres py", line 13, the in & lt; module>
The import pkg_resources as res
The File "c: \ python38 \ lib \ site - packages \ PyInstaller \ loader \ pyimod03_importers py", line 623, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages \ pkg_resources \ set py", line 86, in & lt; module>
ModuleNotFoundError: No module named 'pkg_resources. Py2_warn'
[13576] Failed to execute the script pyi_rth_pkgres

CodePudding user response:

My python version is 3.8.2
  • Related