简体   繁体   中英

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. 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

I also tried downloading and installing the 64 bit wheel file, but got the following error:

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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