我正在努力在我的 Centos VPS 上安装 MySQL-python。我有“主要”Python 2.6(CentOS 自动附带的)和我在(2.7)之后安装的另一个。所以我使用了这个命令:
easy_install-2.7 MySQL-python
但它重现了以下错误:
Searching for MySQL-python
Reading https://pypi.python.org/simple/MySQL-python/
Download error on https://pypi.python.org/simple/MySQL-python/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'MySQL-python' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or download links found for MySQL-python
error: Could not find suitable distribution for Requirement.parse('MySQL-python')
感谢您阅读我的问题并可能提供帮助!