概述
Could not find any downloads that satisfy the requirement mysql-connector-python==2.0.4 (from -r requirements.txt (line 2)) Cleaning up... No distributions at all found for mysql-connector-python==2.0.4 (from -r requirements.txt (line 2))
我遵循的步骤是:
virtualenv -p python3 env/ source env/bin/activate pip3 install -r requirements.txt --allow-external mysql-connector-python
requirements.txt包含以下内容:
beautifulsoup4==4.4.1 mysql-connector-python==2.0.4 requests==2.9.1 wheel==0.24.0
怎么能克服这个问题?
git clone git@github.com:MysqL/mysql-connector-python.git cd mysql-connector-python python setup.py install
实际上,您可以使用pip freeze或pip list来验证这一点.如果要安装特定版本,可以使用git tag -n检查可用版本,然后切换到一个版本,例如: git checkout 2.0.4然后再次运行setup.py install.
背景
http://bugs.mysql.com/bug.php?id=79811.
在看到你和我有同样的问题之后,我决定在Oracle的最后研究这个问题.我注意到在过去的几年里他们已经有多个关于这个的错误票,而且其他人昨天评论过破损的安装.可悲的是,这些门票被关闭“没有错误”,今天我们今天也是这样,链接断了.
更新
根据我的错误故障单的响应,似乎这是问题的根源:
PyPI has decided to not allow any longer the externally hosted projects. I had an email about this a few months ago.
总结
以上是编程之家为你收集整理的python-3.x – 找不到满足要求mysql-connector-python的任何下载全部内容,希望文章能够帮你解决python-3.x – 找不到满足要求mysql-connector-python的任何下载所遇到的程序开发问题。
如果您也喜欢它,动动您的小指点个赞吧