繁体   English   中英

运行pip install --allow external时,mysql python连接器不可用

[英]Mysql python connector is unavailable when running pip install --allow external

在Docker容器中使用Python 3.4时,我一直在使用pip install mysql-connector-python --allow-external mysql-connector-python在新容器上安装依赖项。 但是,突然,命令失败,提示“找不到符合要求的下载”。 我检查了pypi并且依存关系仍然存在,但是由于某种原因pip找不到它( https://pypi.python.org/pypi/mysql-connector-python/2.0.4 )。

为什么它不再能够查看mysql-connector-python版本2.0.4的任何想法,以及如何解决此问题?

“由于PEP 470现在要求文件必须托管在PyPI上,您可能已经注意到,使用pip工具现在不再提供MySQL Connector / Python。” ...“目前,我们建议直接从MySQL主页下载最新的Connector / Python”

参见https://geert.vanderkelen.org/2016/cpy-and-pypi/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM