pip安装pymssql模块时报错“PEP 517”怎样处理?

报错信息

如下图:[root@centos tmp]# pip3 install pymssqlCollecting pymssql Using cached https://files.pythonhosted.org/packages/4a/20/bcd4db9e7990b50e85280f0c9488c0a53f7e6bf9048203448d8e0f29a536/pymssql-3.0.3.tar.gz Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... doneBuilding wheels for collected packages: pymssql Building wheel for pymssql (PEP 517) ... error ERROR: Command errored out with exit status 1: command: /usr/local/python3/bin/python3.7 /usr/local/python3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmplktlmv2p cwd: /tmp/pip-install-6x1763de/pymssql Complete output (42 lines): running bdist_wheel running build installing to build/bdist.linux-x86_64/wheel running install /tmp/pip-build-env-b2tk6mrs/overlay/lib/python3.7/site-packages/setuptools/dist.py:46: DistDeprecationWarning: Do not call this function warnings.warn("Do not call this function", DistDeprecationWarning) ...(此处略去1000+字)File "/usr/local/python3/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/python3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "setup.py", line 449, in run raise DeprecationWarning(msg) DeprecationWarning: The pymssql project has been discontinued. To install the last working released version, use a version specifier like "pymssql<3.0". For details and alternatives see: pymssql/pymssql/issues/668ERROR: Failed building wheel for pymssql Running setup.py clean for pymssqlFailed to build pymssqlERROR: Could not build wheels for pymssql which use PEP 517 and cannot be installed directly

遇到问题不要怕,也不要慌,沉着冷静,总有处理方法。

仔细看报错信息,忽然有一条实际上已经告诉了答案。就是版本不匹配,

,那如何才能版本匹配呢?

需要低于3.0版本的pymssql才能安装。

处理命令

命令如下:pip install "pymssql<3.0"pip list

总结

当报错信息是版本不匹配时,按照提醒信息,输入正确的版本限制语法,安装就成功了。

python pip安装pymssql_pip安装pymssql模块时报错“PEP 517”怎样处理相关推荐

  1. 【昊鼎王五】pip安装pymssql模块时报错“PEP 517”怎么解决?

    [昊鼎王五]pip安装pymssql模块时报错"PEP 517"怎么解决? 背景 在https://blog.csdn.net/haoding205/article/details ...

  2. python 安装 pymssql 库时报错

    python 安装 pymssql 库时报错 安装第三方库 pip install pymssql Traceback (most recent call last): File "c:\u ...

  3. pip 安装模块时报错:ImportError: cannot import name ‘InvalidSchemeCombination‘ ......

    pip 安装模块时报错:ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exception ...

  4. python连接SQL Server:Pymssql模块

    数据库版本:SQL Server 2012. 按照python版本来选择下载pymssql模块,这样才能连接上sql server. 我安装的python版本是3.5 ,64位的,所以下载的pymss ...

  5. 安装完MySQL后启动报错_MySQL数据库之mysql编译安装完成后,启动时报错The server quit without updating PID file...

    本文主要向大家介绍了MySQL数据库之mysql编译安装完成后,启动时报错The server quit without updating PID file ,通过具体的内容向大家展现,希望对大家学习 ...

  6. linux安装网卡驱动make报错,ubuntu12.04 安装有线网卡驱动make时报错

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 ubuntu12.04 安装有线网卡驱动make时报错: make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-57 ...

  7. tensorflow2.0及以上版本在使用Session模块时报错:AttributeError: module ‘tensorflow‘ has no attribute ‘Session‘ 已解决

    tensorflow2.0版本及之后的版本在使用Session模块时报错:AttributeError: module 'tensorflow' has no attribute 'Session' ...

  8. Python 多进程的进程池pool运行时报错:ValueError: Pool not running

    本文仅供学习交流使用,如侵立删!demo下载见文末 Python 多进程的进程池pool运行时报错:ValueError: Pool not running def main(self, num):& ...

  9. python pip与pip3安装、更新、卸载、查看等常用命令汇总

    Python和 pycharm的使用 1. pycharm和Python 下载 安装后需要激活码.判断Python是否安装好了,cmd下跑: python --version 2. 配置环python ...

最新文章

  1. Linux 的进程状态
  2. html项目列表页面源码,HTML 列表
  3. iOS5 UIKit新特性
  4. python语言的实验心得体会_爱的五种语言——“好妈妈”培训班家教情商课课堂纪实!...
  5. STM 事务 ACID
  6. Atitit 架构的原则attilax总结
  7. ping 端口是否开放(Mac、Linux、Windows系统)
  8. 微波雷达感应模块,智能马桶传感方案,智能化生活
  9. Bilibili拜年祭启发的小小探索
  10. python背景介绍_二手房房价影响因素分析 讲解1背景介绍
  11. python漏洞扫描器爬虫_Python系列之——漏洞平台厂商列表爬虫
  12. 计算机百科丨存储介质发展史
  13. TP5.1实现数组内容的分页和数据渲染
  14. set_ideal_network和set_dont_touch_network
  15. 北华大学c语言题库百度云,北华大学C语言题库精简打印版(全).doc
  16. ThinkPad 声卡出现未安装任何音频输出设备
  17. stacking集成模型预测回归问题
  18. 什么是值传递和引用传递?
  19. mfc 子窗口 跟随 主窗口
  20. Linux文件目录操作命令-more命令

热门文章

  1. vscode 编写html 浏览器显示 空白 白屏
  2. ACCV 2020 开幕,最佳论文出炉!附所有论文下载
  3. Android分屏显示
  4. 从头开始学习->JVM(三):类加载器(上)
  5. Dialog加载页面动画(Loding.....加载等待)三种方式
  6. 自适应OCXO漂移校正算法(翻译)
  7. 上海市四金和税的算法
  8. Linux添加中文字体
  9. sencha app watch php,Sencha Cmd使用指南
  10. 基于ESP32环境监测控制和预警(微信小程序)