您的位置:首页 > 编程语言 > Python开发

[Tips]使用 pip v1.5 安装 MySQL Connector/Python

2014-09-28 09:47 609 查看
使用 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).


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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: