Traceback (most recent call last): File "train.py", line 23, in <module> import yaml ModuleNotFoundError: No module named 'yaml'
时间: 2023-11-16 16:52:58 浏览: 264
train.py
根据引用内容\[1\]和\[3\],报错信息显示缺少yaml模块。解决方法是安装yaml模块。可以使用以下命令在终端中安装yaml模块:
```
pip install pyyaml
```
安装完成后,再次运行程序应该就不会出现"ModuleNotFoundError: No module named 'yaml'"的错误了。
#### 引用[.reference_title]
- *1* *2* *3* [AS-GCN【复现】ModuleNotFoundError: No module named ‘processor.demo‘问题](https://blog.csdn.net/labview520/article/details/123777071)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文