-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用Pyinstaller构建可执行程序 No module name 'tools' #4390
Comments
可以设置一下python的环境变量 |
Since you haven't replied for more than 3 months, we have closed this issue/pr. |
* add tracking pipeline * move pptracking to deploy * update according to review * refine class define * add yaml cmake
这是一个好问题,为什么却一直没人解决呢? |
请问这个在windows下面如何操作? |
Code:
pyinstaller -F test_paddleocr.py
(store_scan) [root@localhost dist]# ./test_paddleocr
Traceback (most recent call last):
File "test_paddleocr.py", line 13, in
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "init.py", line 15, in
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "paddleocr.py", line 26, in
ModuleNotFoundError: No module named 'tools'
[4301] Failed to execute script 'test_paddleocr' due to unhandled exception!
增加pyinstaller的hook:
但是还是会出现相同的问题, 导包无效
老哥能帮忙解决一下这个问题吗?
The text was updated successfully, but these errors were encountered: