记录一个服务器离线安装mysql依赖问题
error: Failed dependencies: libmysqlclient.so.20()(64bit) is needed by mysql-community-devel-5.7.30-1.el7.x86_64 mysql-community-libs(x86-64) >= 5.7.9 is needed by mysql-community-devel-5.7.30-1.el7.x86_64
服务器离线安装django环境 用到mysqlclient包 这个包依赖mysql-devel插件
解决过程
1.首先依次下载mysql-community-common-5.7.30-1.el7.x86_64.rpm mysql-community-libs-5.7.30-1.el7.x86_64.rpm mysql-community-devel-5.7.30-1.el7.x86_64.rpm 三个插件,安装顺序相互依赖
2.上传到不能联网的服务器,放到指定目录
3.依次安装三个插件
然后再执行离线安装python包后pip install --no-index --find-links=./ -r requirements.txt
大功告成!