原因:由于容器内部的问题所引起的
方法1:需要更新apt,安装libgl1-mesa-glx
apt update
apt install libgl1-mesa-glx
方法2:
pip uninstall opencv-python -y
pip install opencv-python-headless -i https://pypi.tuna.tsinghua.edu.cn/simple
文章出处登录后可见!
已经登录?立即刷新
原因:由于容器内部的问题所引起的
方法1:需要更新apt,安装libgl1-mesa-glx
apt update
apt install libgl1-mesa-glx
方法2:
pip uninstall opencv-python -y
pip install opencv-python-headless -i https://pypi.tuna.tsinghua.edu.cn/simple
文章出处登录后可见!