为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:Django如何手动进入venv中安装三方库,因为通过官方一直失败 相关截图(日志、错误):root@VM-4-16-centos site-packages]# pwd /www/server/pyporject_evn/xxxx_venv/lib/python3.8/site-packages [root@VM-4-16-centos site-packages]# pip3 install mysqlclient WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. Requirement already satisfied: mysqlclient in /usr/local/lib64/python3.6/site-packages 在这个venv下面安装mysqlclient ,居然安装到了 /usr/local/lib64/python3.6/site-packages 万分不理解为什么?
|
|