I'm trying to run a YOLOv8 retrained object detection test, but I keep getting this error.
我正在尝试运行YOLOv8重新训练的对象检测测试,但我一直收到此错误。
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/yolo", line 5, in <module>
from yolo.script import cli
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yolo/script.py", line 20, in <module>
from yolo import client
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/yolo/client.py", line 39, in <module>
import keyring
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/keyring/__init__.py", line 6, in <module>
from .core import (set_keyring, get_keyring, set_password, get_password,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/keyring/core.py", line 14, in <module>
from . import backend
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/keyring/backend.py", line 18, in <module>
from .util import properties
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/keyring/util/properties.py", line 1, in <module>
from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/collections/__init__.py)
I've already tried installing gnu-cobol and updating celery, any other ideas? Thank you
我已经试过安装gnu-cobol和更新西芹了,还有其他想法吗?谢谢
更多回答
The error is inside the keyring
package. Update that package.
错误出现在密匙环包内。更新该程序包。
优秀答案推荐
我是一名优秀的程序员,十分优秀!