使用 pip v1.5 安装 MySQL Connector/P
2015-03-11 本文已影响3933人
_Ryeeeeee
使用 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