The file cannot be found by running after packaging with pyinstaller
See original GitHub issueI don’t know if there are any friends like me. After packing with pyinstaller, I couldn’t find the file. The specific error report is as follows:
Traceback (most recent call last):
File "main.py", line 363, in main
File "captcha/easy_ocr.py", line 46, in easy_ocr
File "easyocr/easyocr.py", line 199, in __init__
File "easyocr/easyocr.py", line 256, in setLanguageList
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/v7/4z00fvss71n435b2g4xvymjr0000gn/T/_MEIUYXJ9t/easyocr/character/ch_sim_char.txt'
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
Python Program Exe is not running after packaging it with ...
It doesn't show any errors, it just opens command prompt and closes it immediately and doesn't run the program. However the program runs...
Read more >When Things Go Wrong — PyInstaller 5.7.0 documentation
When you run the bundled app and it terminates with an ImportError, that is the time to examine the warning file. Then see...
Read more >Pyinstaller: Module not found when running .exe when ...
I am using Windows10, Python 3.8 and PyInstaller 3.6. Having read that Pyinstaller is not supported under 3.8, I also reproduced the problem...
Read more >Packaging PyQt5 applications for Windows, with PyInstaller ...
There is not much fun in creating your own desktop applications if ... You can now run the following command to run the...
Read more >Problems with Pyinstaller & and Common Fixes - YouTube
uite error prone, and many people have run into alot of constant errors and problems while using Pyinstaller. This Video was created for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
–collect-all easyocr has solved my problem
@yqchilde found the problem, just put the whole easyocr lib to dist folder; it just cause of the pyinstaller didn’t move the import module & anything you need in the project.