运行pip install pymssql时出错 [英] Error When Running pip install pymssql

查看:88
本文介绍了运行pip install pymssql时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在VS 2017命令行的命令提示符中安装pymssql模块,当我键入

I am trying to install the pymssql module in the Command Prompt for VS 2017 Command line and when I type

pip install pymssql

我收到此错误


cl:错误:无此类选项:-I

这是更定义的错误代码:

Here is the more defined error code:


cl:错误:无此选项:-I
错误:command' C:\Users\blake\AppData\Local\Programs\Python\Python37-32\Scripts\cl.exe'
失败,退出状态为2

cl: error: no such option: -I error: command 'C:\Users\blake\AppData\Local\Programs\Python\Python37-32\Scripts\cl.exe' failed with exit status 2


推荐答案

在Windows上,请按照以下说明进行操作

On Windows, please follow the instructions on

< href = https://docs.microsoft.com/zh-cn/sql/connect/python/pymssql/step-1-configure-development-environment-for-pymssql-python-development?view=sql-server- 2017 rel = nofollow noreferrer> https://docs.microsoft.com/zh-cn/sql/connect/python/pymssql/step-1-configure-development-environment-for-pymssq l-python-development?view = sql-server-2017

i。 e .:下载转盘文件,将其放置在python.exe所在的文件夹中,移至该文件夹并运行

i. e.: Download the wheel-file, place it in the same folder where the python.exe is, move to that folder and run

pip install pymssql-2.1.3 -cp36-cp36m-win_amd64.whl

pip install pymssql-2.1.3-cp36-cp36m-win_amd64.whl

这篇关于运行pip install pymssql时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆