You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(paddlelabel) PS C:> paddlelabel
Starting PaddleLabel
INFO [paddlelabel.config.19]: Database path: sqlite:///C:\Users\Administrator.
paddlelabel\paddlelabel.db
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\ProgramData\anaconda3\envs\paddlelabel\Scripts\paddlelabel.exe_main
.py", line 7, in
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\paddlelabel
main.py", line 107, in run
from paddlelabel import api, task
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\paddlelabel
task_init.py", line 5, in
from .semantic_segmentation import SemanticSegmentation
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\paddlelabel
task\semantic_segmentation.py", line 10, in
import cv2
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\cv2_init
.py", line 181, in
bootstrap()
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\cv2_init
.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\importlib_init.py", li
ne 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing cv2: 找不到指定的模块。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
(paddlelabel) PS C:> paddlelabel
Starting PaddleLabel
INFO [paddlelabel.config.19]: Database path: sqlite:///C:\Users\Administrator.
paddlelabel\paddlelabel.db
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\ProgramData\anaconda3\envs\paddlelabel\Scripts\paddlelabel.exe_main
.py", line 7, in
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\paddlelabel
main.py", line 107, in run
from paddlelabel import api, task
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\paddlelabel
task_init.py", line 5, in
from .semantic_segmentation import SemanticSegmentation
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\paddlelabel
task\semantic_segmentation.py", line 10, in
import cv2
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\cv2_init
.py", line 181, in
bootstrap()
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\site-packages\cv2_init
.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\paddlelabel\Lib\importlib_init.py", li
ne 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing cv2: 找不到指定的模块。
完全按照安装指南操作,
conda create -n paddlelabel python=3.11
conda activate paddlelabel
pip install --upgrade paddlelabel
完毕后,运行后有一系列问题,后面引用了PaddlePaddle/PaddleOCR#208 [https://github.com/https://github.com//issues/208]里面的包:
pip install uvicorn==0.14 --no-deps
pip install connexion==2.14.1 --no-deps
pip install anyio==3.0 --no-deps
pip install Werkzeug==2.2.2 --no-deps
pip install starlette==0.21.0 --no-deps
pip install Flask==2.2.2 --no-deps
pip install Flask-Cors==3.0.10 --no-deps
pip install a2wsgi==1.8.0 --no-deps
pip install alembic==1.12.1 --no-deps
再运行:
paddlelabel
提示如上。应该如何解决。3QS
The text was updated successfully, but these errors were encountered: