美文网首页python
使用 pip v1.5 安装 MySQL Connector/P

使用 pip v1.5 安装 MySQL Connector/P

作者: _Ryeeeeee | 来源:发表于2015-03-11 11:51 被阅读3933次

使用 pip 安装自己需要的软件包,如果这些包没有被托管在PyPI 上,那么你使用普通的方式安装这些包时,你可能会失败。当你使用如下这种最平常的方式安装 MySQL Connect/Python 时,你会得到如下的提示信息:

shell> pip install mysql-connector-python Could not find any downloads that satisfy the requirement mysql-connector-python 
Some externally hosted files were ignored (use --allow-external mysql-connector-python to allow).

可以用如下的方法来解决:

shell> pip install --allow-external mysql-connector-python mysql-connector-python

相关文章

网友评论

    本文标题:使用 pip v1.5 安装 MySQL Connector/P

    本文链接:https://www.haomeiwen.com/subject/koxbxttx.html