docker python 3.11 容器报错

  1. OSError: libc++.so.1: cannot open shared object file: No such file or directory

解决办法 Dockerfile文件中增加如下命令执行安装

复制代码
RUN apt install libc++-dev
  1. ImportError: libGL.so.1: cannot open shared object file: No such file or directory

解决办法 Dockerfile文件中增加如下命令执行安装

RUN apt install libgl1 -y

相关推荐
技术无疆2 天前
用Python打造互动式中秋节庆祝小程序
开发语言·python·小程序·pycharm·pygame·ipython·python3.11
Trouvaille ~9 天前
【Python篇】matplotlib超详细教程-由入门到精通(上篇)
开发语言·python·数据分析·matplotlib·数据可视化·绘图·python3.11
立黄昏粥可温18 天前
Python 从入门到实战3(列表的简单操作)
开发语言·python·python3.11
QC班长18 天前
macOS搭建Python3.11+Django4.2.15的平台框架使用Poetry管理
python·macos·django·python3.11·poetry
刘悦的技术分享20 天前
Python3.11二进制AI项目程序打包为苹果Mac App(DMG)-应用程序pyinstaller制作流程(AppleSilicon)
人工智能·macos·ai编程·python3.11
waketzheng21 天前
Python3.11使用labelimg
python3.11
立黄昏粥可温22 天前
Python 3.11 从入门到实战1(环境准备)
python·python3.11
BUG记录机23 天前
linux安装python3.11.9
linux·运维·python3.11
西华彭于晏!1 个月前
RabbitMq消息队列(缓存加速)
开发语言·分布式·缓存·架构·rabbitmq·python3.11