无法安装 pymssql - 找不到与 pymssql 匹配的发行版

Unable to install pymssql - no matching distribution found for pymssql

C:\>pip install --proxy "http://dcullen:password@1.2.3.4:80" pymssql
Collecting pymssql
Could not find a version that satisfies the requirement pymssql (from versions
: )
No matching distribution found for pymssql

我正在尝试使用上面的命令来安装 pymssql 模块。我可以通过我的代理安装其他模块,所以我认为代理不是问题。

Python版本:Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32

我也试过下载安装64位的wheel文件,但是出现了以下错误:

C:\>pip install pymssql-2.1.2-cp27-cp27m-win_amd64.whl
pymssql-2.1.2-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform

将我的 pip 升级到最新版本似乎可以完成工作。

如本 post 所述,还需要使用 --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org