Tutorial zur Installation von Abhängigkeitspaketen im Zusammenhang mit der Python3.x-Bildverarbeitung
1. PIP aktualisieren
python.exe -m pip install --upgrade pip
#如果是Python3.9.0会出现版本兼容性问题,建议更好Python版本3.9.2或3.9.5
2. Installieren Sie PIL
python -m pip install pillow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
3. Installieren Sie matplotlib und numpy
pip install matplotlib
pip install numpy
#在安装matplotlib时会自动安装上numpy,如果没有就在用pip安装
4. Installieren Sie cv2
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python