1 ModuleNotFoundError: No module named 'yaml'

yaml的包名为pyyaml

pip安装:

pip install pyyaml

conda安装:

conda install pyyaml

2 ModuleNotFoundError: No module named 'cv2'

cv2的包名为opencv-python,不支持conda方式安装,只支持pip方式

pip安装:

pip install opencv-python

3 ModuleNotFoundError: No module named 'yacs'

yacs不支持conda方式安装,只支持pip方式安装

pip安装:

pip install yacs

4 ModuleNotFoundError: No module named 'easydict'

easydict不支持conda方式安装,只支持pip方式安装

pip安装:

pip install easydict