首页 > 数据库 >ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none)

ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none)

时间:2023-04-04 12:00:46浏览次数:49  
标签:requirement versions Could pymysql version satisfies find

踩过的坑

不管是idea中直接引入还是 pip3 install pymysql 都会报错:ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none)

 

 

原因是 网络问题,需要需要使用国内镜像源来加速,比如豆瓣源

pip install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

 

解决问题参考:https://blog.csdn.net/T_Y_F_/article/details/126225407,感谢博主分享

 

标签:requirement,versions,Could,pymysql,version,satisfies,find
From: https://www.cnblogs.com/qiuqiu2021/p/17285950.html

相关文章