简体   繁体   English

无法安装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

I am trying to use the above command to install the pymssql module. 我正在尝试使用上述命令来安装pymssql模块。 I can install other modules through my proxy, so I don't think the proxy is the issue. 我可以通过代理安装其他模块,所以我认为代理不是问题。

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

I also tried downloading and installing the 64 bit wheel file, but got the following error: 我也尝试下载并安装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

Upgrading my pip to the latest version seemed to do the job. 将我的点升级到最新版本似乎可以完成工作。

The use of --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org was also required as stated in this post . 采用--index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org也被要求在此声明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM