报错
2024-09-23 13:41:52,472 ERROR MainThread OK:init error Traceback (most recent call last):
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 62, in init
self.do_init()
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 138, in do_init
from paddleocr import PaddleOCR
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr__init__.py", line 14, in
from .paddleocr import *
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle
ModuleNotFoundError: No module named 'paddle'
截图 :
无
是否必现:
是
录屏:
无
脚本软件版本:
[如]1.1.1
windows操作系统:
Windows 10
上传日志:
2024-09-23 13:41:52,349 INFO TaskExecutor TaskExecutor:start execute
2024-09-23 13:41:52,349 INFO MainThread OK:use paddleocr as ocr lib
2024-09-23 13:41:52,349 INFO TaskExecutor TaskExecutor:executor is paused sleep
Traceback (most recent call last):
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 62, in init
self.do_init()
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 138, in do_init
from paddleocr import PaddleOCR
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr__init.py", line 14, in
from .paddleocr import *
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle
ModuleNotFoundError: No module named 'paddle'
2024-09-23 13:41:52,472 ERROR MainThread OK:init error Traceback (most recent call last):
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 62, in init
self.do_init()
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 138, in do_init
from paddleocr import PaddleOCR
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\init__.py", line 14, in
from .paddleocr import *
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle
ModuleNotFoundError: No module named 'paddle'
请先挨个检查: 常见问题
搜索现有ISSUE: https://github.com/ok-oldking/ok-wuthering-waves/issues?q=
描述错误: 使用源代码运行gpu版本时无法运行
复现步骤 按照以下步骤复现行为:
git clone https://github.com/ok-oldking/ok-wuthering-waves (python版本为3.11.9) pip install -r requirements.txt python main_gpu.py
报错 2024-09-23 13:41:52,472 ERROR MainThread OK:init error Traceback (most recent call last): File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 62, in init self.do_init() File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 138, in do_init from paddleocr import PaddleOCR File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr__init__.py", line 14, in
from .paddleocr import *
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle
ModuleNotFoundError: No module named 'paddle'
截图 : 无
是否必现: 是
录屏: 无
脚本软件版本: [如]1.1.1
windows操作系统: Windows 10
上传日志:
2024-09-23 13:41:52,349 INFO TaskExecutor TaskExecutor:start execute 2024-09-23 13:41:52,349 INFO MainThread OK:use paddleocr as ocr lib 2024-09-23 13:41:52,349 INFO TaskExecutor TaskExecutor:executor is paused sleep Traceback (most recent call last): File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 62, in init self.do_init() File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 138, in do_init from paddleocr import PaddleOCR File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr__init.py", line 14, in
from .paddleocr import *
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle
ModuleNotFoundError: No module named 'paddle'
2024-09-23 13:41:52,472 ERROR MainThread OK: init error Traceback (most recent call last):
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 62, in init
self.do_init()
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\ok\OK.py", line 138, in do_init
from paddleocr import PaddleOCR
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\init__.py", line 14, in
from .paddleocr import *
File "D:\PycharmProjects\ok-wuthering-waves\venv\Lib\site-packages\paddleocr\paddleocr.py", line 21, in
import paddle
ModuleNotFoundError: No module named 'paddle'