相关疑难解决方法(0)

我无法使用pip安装mysql-connector-python

我正在尝试安装mysql-connector-python==1.0.12作为项目自动安装的一部分,我从以下错误中得到以下错误pip install:

Collecting mysql-connector-python==1.0.12 (from -r /tmp/requirements.txt (line 20))
Could not find a version that satisfies the requirement mysql-connector-python==1.0.12 (from -r /tmp/requirements.txt (line 20)) (from versions: )
No matching distribution found for mysql-connector-python==1.0.12 (from -r /tmp/requirements.txt (line 20))
Run Code Online (Sandbox Code Playgroud)

直到几天前它运作良好.我调查了一下,在bitbucket.org中发现了以下问题.具体而言,以下评论日期为2015年12月28日:

这应该是空白的,根据PEP 470,使用PyPI链接到不由PyPI托管的软件包,以便自动安装程序下载(/ simple/index)已弃用并计划删除.3个月前通过电子邮件发送了受影响包裹的维护人员.删除发生在今天早些时候(一个错误导致一些像Twisted这样的托管在PyPI上托管也删除了他们的链接,但已经解决了).MySQL-connector-python的维护者应该上传到PyPI或指导他们的用户使用-f或--extra-index-url和他们维护的存储库.

如何mysql-connector-python==1.0.12顺利安装运行?我需要建立自己的存储库吗?

pip pypi mysql-connector-python

27
推荐指数
4
解决办法
5万
查看次数

标签 统计

mysql-connector-python ×1

pip ×1

pypi ×1