1. ResolutionImpossible
pip install paddlepaddle
出错提示:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
解决办法,执行这个命令
pip install paddlepaddle -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
2. 启动 eiseg 出错
AttributeError: module 'cv2.dnn' has no attribute 'DictValue'
原因是 opencv-python 版本不匹配
解决办法:
降级 opencv-python 版本
pip install opencv-python==4.5.3.56