[Bug] ModuleNotFoundError: No module named 'yaml',已经安装yaml,还是显示没有模块
wzgrx opened this issue · 0 comments
Verify Steps
- Tracker 我已经在 Issue Tracker 中找过我要提出的问题
- Latest 我已经使用最新版本测试过,问题依旧存在
- Code 这是 MIUITask 自身代码存在的问题,并非我所使用的 网络 或 设备 等特定问题
- Meaningful 我提交的不是无意义的 催促更新或修复 请求
MIUITask Version
1.73
Bug Found in Environment
Windows, Docker
Bug Found in Python Version
3.12, 3.11
Describe the Bug
Traceback (most recent call last):
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/miuitask.py", line 11, in
from utils.api.login import Login
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/utils/api/login.py", line 11, in
from ..config import Account, write_plugin_data
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/utils/config.py", line 10, in
import yaml # pylint: disable=wrong-import-order
Traceback (most recent call last):
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/miuitask.py", line 11, in
from utils.api.login import Login
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/utils/api/login.py", line 11, in
from ..config import Account, write_plugin_data
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/utils/config.py", line 10, in
import yaml # pylint: disable=wrong-import-order
ModuleNotFoundError: No module named 'yaml'
MIUITask Log
Traceback (most recent call last):
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/miuitask.py", line 11, in
from utils.api.login import Login
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/utils/api/login.py", line 11, in
from ..config import Account, write_plugin_data
File "/ql/data/scripts/0-8-4_miui-auto-tasks_master/utils/config.py", line 10, in
import yaml # pylint: disable=wrong-import-order
ModuleNotFoundError: No module named 'yaml'
MIUITask Config
No response
Screenshots
No response