模块安装报错背景说明:

之前备课时没发现的一个问题,就是在安装xgboost模块时,会出现ERROR: Command errored out with exit status 1的问题,今天课上学生安装时出现此问题。简单答疑吧。以后遇到类似问题,自己就会解决了!!!

报错原因:

安装xgboost模块时,发现解释器缺失该库文件对应版本的.whl文件

解决思路:

1. 下载对应版本的. whl文件

  1. 首先确定你对应的解释器版本

    我这边为了教学方便,让学生统一安装的是稳定版本的python 3.6.8版本解释器
  2. 然后登陆链接
    链接地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/
  3. 找到对应版本的.whl文件

2. 指定路径安装对应版本的. whl文件

  1. 进入Python解释器安装目录
    c:\users\123456\appdata\local\programs\python\python36-32\Scripts
  2. 将对应版本的.whl文件移动到该目录中,安装.whl文件
    pip install xgboost‑1.3.1‑cp36‑cp36m‑win32.whl

重新测试



OK了,问题解决!!!

ERROR: Command errored out with exit status 1相关推荐

  1. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm

    目录 问题 解决方法 问题 Python3.7环境下安装PySide pip install PySide Collecting PySideUsing cached PySide-1.2.4.tar ...

  2. ubuntu18.04安装python的mysqlclient==1.4.6报错ERROR Command errored out with exit status 1python setup

    安装python的mysqlclient==1.4.6报错 环境: ubuntu18.04 python 3.7.2 Django 2.2 想要使用Django来操作MySQL,报错: LookupE ...

  3. ERROR: Command errored out with exit status 1:

    这个问题是伴随性质的问题.解决了[C++]工具的包的问题就直接顺带解决了. 问题:[ERROR: Command errored out with exit status 1:] 解决方案 直接去下载 ...

  4. ERROR: Command errored out with exit status 1一例

    完整报错如下: Downloading http://mirrors.cloud.aliyuncs.com/pypi/packages/35/4b/ed10f7a313704bb77e0bd87817 ...

  5. pip sintall pyspider 报错:ERROR: Command errored out with exit status 10

    系统环境: Windows 10 64位 Python 3.6.5 pyspider 是国人写的一款开源爬虫框架,作者博客:http://blog.binux.me/ ,使用 pip install ...

  6. ModuleNotFoundError: No module named '_ctypes' ERROR:Command errored out with exit status 1: python

    Ubuntu下载 nginx 时报错: ERROR: Command errored out with exit status 1:command: /usr/local/bin/python3.7 ...

  7. Python PIP Mysql-python 报错 ERROR: Command errored out with exit status 1: python setup.py egg_info C

    pip install mysql-python 安装Mysql-python时,报错,先看下错误内容: ERROR: Command errored out with exit status 1:c ...

  8. PIP scrapydo时报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the log

    今天PIP安装scrapydo 包时,报错,图如下 ERROR: Command errored out with exit status 1: python setup.py egg_info Ch ...

  9. 安装PaddleOCR遇到ERROR: Command errored out with exit status 1:command: ‘f:\python3.7\python.exe‘ -u -c

    一.安装Paddle遇到ERROR: Command errored out with exit status 1: 二.错误内容: ERROR: Command errored out with e ...

  10. windows安装imgaug ERROR: Command errored out with exit status 1: ERROR: Command errored out with exit

    在windows10下安装imgaug,我的python是3.7版本,一直在报错 报错信息如下所示: ERROR: Command errored out with exit status 1:   ...

最新文章

  1. [转]SVN + CruiseControl.NET + NANT 自动编译提交的项目最小DEMO
  2. 性能计数器监控typeperf
  3. 当你再面对大多数需求时能够说这些问题我以前做过,那你就。。。
  4. vue实现两个数组的合并
  5. Mantle For iOS
  6. python和php合成,Python照片合成的方法详解
  7. 如何在 Windows XP Service Pack 2 上启用 SQL Server 连接
  8. 微软 .NET 团队宣布 Visual Basic 停止更新,VB 编程即将谢幕
  9. win10升级后 IE 火狐 谷歌浏览器 不能上网 解决办法
  10. html5 input step,HTML5 Data Input 元素介绍
  11. WBS:工作分解结构(Work Breakdown Structure)
  12. JS 中删除节点的两个方法
  13. CSU_WF-中南大学网络服务队2020招新培训-硬件知识
  14. 在Js和Java自动生成账号的方法
  15. matlab文件相互调用,matlab中怎么同时运行多个M文件,这些文件怎么相互调用!
  16. 2016年中国软件产业分析报告
  17. 沙特阿拉伯重新开放对于持有美国、英国和申根签证旅行者落地签
  18. Android ToolBar and Listview
  19. Tornado框架06-模板
  20. 星空主题设计理念_星空规划设计说明

热门文章

  1. jieba分词的基本用法和词性标注
  2. Excel数据计数(count)
  3. SpringSecurity实战(五)-认证流程源码分析
  4. matlab 正弦曲线平均值,如何用matlab做正弦曲线拟合
  5. openlayers6踩坑系列(七)坐标经纬度转换公式
  6. IOS 苹果手机 使用重力加速度,js web devicemotion,deviceorientation事件
  7. 看了那些 Google 大神 Jeff Dean 的传说后,我跪了!
  8. Vue使用debugger
  9. 网络时间协议 (SNTP)
  10. 普渡大学科技学院计算机信息技术,普渡大学-学院介绍