测试通过系统及版本
-
centos7 python3.6
依赖文件为 requirement.txt
-
ubuntu 22.04 python3.10
依赖文件为 requirement3.10_ubuntu22.txt
微信小程序
需要下载模型,由于模型文件比较大,版本库没有上传
u2net 下载完成将其放在 u_2_net/saved_models/u2net
文件下
- ImportError: libGL.so.1: cannot open shared object file: No such file or directory
# 安装 libgl1
# ubuntu
$ sudo apt install libgl1
# centos
$ sudo yum install mesa-libGL -y