软件安装过程中,在安装lxml的时候出现如下错误

error: command 'gcc' failed with exit status 1

gcc当然没问题,问题原因是缺少相关组件,

安装以下2个组件即可,

yum install libxslt-devel libxml2-devel

回到lxml-3.4.2目录,执行

python setup.py install

安装成功!

转载于:https://blog.51cto.com/itech/1771493

python爬虫问题:error: command 'gcc' failed with exit status 1相关推荐

  1. python mysql gcc_MySQL-python “error: command 'gcc' failed with exit status 1”错误

    安装MySQL-python-1.2.3c1出现"error: command 'gcc' failed with exit status 1"错误 具体报错信息如下: _mysq ...

  2. 安装MySQL-python报错 error: command 'gcc' failed with exit status 1解决方法

    错误如: _mysql.c:2331: error: '_mysql_ConnectionObject' has no member named 'open' _mysql.c:2338: error ...

  3. pycuda installation error: command 'gcc' failed with exit status 1

    原文:python采坑之路 Setup script exited with error: command 'gcc' failed with exit status 1 伴随出现"cuda ...

  4. 安装oracle gcc版本,安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1

    安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1 发布时间:2020-06-19 21:27:36 来源:51CTO 阅读:1 ...

  5. error: command ‘gcc‘ failed with exit status 1

    error: command 'gcc' failed with exit status 1 Setup script exited with error: command 'gcc' failed ...

  6. 安装kerberos报错 error: command 'gcc' failed with exit status 1

    pip install kerberos 报错:error: command 'gcc' failed with exit status 1 安装环境工具 yum install gcc libffi ...

  7. error: command 'gcc' failed with exit status 1

    使用 pip install scrapy 安装 scrapy 时,提示error: command 'gcc' failed with exit status 1 解决方法: yum  -y  in ...

  8. 【吭】centos安装mysql报错OSError: mysql_config not found/error: command ‘gcc‘ failed with exit status 1

    问题:    OSError: mysql_config not found 解决:yum install mysql-devel 问题:error: command 'gcc' failed wit ...

  9. 【Linux学习笔记】解决:error: command ‘gcc‘ failed with exit status 1

    报错: error: command 'gcc' failed with exit status 1 原因:缺少gcc,openssl-devel openssl-devel包是第三方软件开发时使用的 ...

最新文章

  1. nginx同域名代理tomcat不同目录下的文件
  2. 风险案例-25期-与有过合作经历客户在新合同约定中过于简单、范围不明确,导致客户对新需求工作量不认可...
  3. php 字节序,Linux_Linux中网络字节序和主机字节序,主机字节序就是我们平常说的 - phpStudy...
  4. linux nginx漏洞修复,nginx-1.14.1 和 nginx-1.15.6 发布,修复HTTP/2和MP4模块中的漏洞
  5. 【Python基础】数据项目总结 -- 蛋壳公寓租金分析!
  6. JQ 为未来元素添加事件处理器—事件委托
  7. 怎么将pdf转换成word
  8. 开源贡献 计算_使用此网站为开源做贡献
  9. vue 中 provide 和 inject 共享数据
  10. k8s 拉取镜像失败_k8s 拉取私有仓库失败
  11. Tkinter文件夹选择路径功能+打开位置目录功能(Python3.6.X)
  12. 汇编语言浮点数指令集
  13. 什么是网络安全等级保护
  14. Kubernetes能成大事,华为云的眼光“真毒”
  15. Golang interface接口深入理解
  16. CF633H Fibonacci-ish II
  17. sdn体系的三个平面_深入SDN(三):SDN、OpenFlow和NOS是什么?
  18. element rules不生效
  19. matlab求偏迹,矩阵的偏迹
  20. 机械式计算机自制,自制计算机(1):机械计算机原理

热门文章

  1. iso linux 内核版本号_Linux发行版和Linux内核的区别
  2. 任务58:19-尚硅谷-Java语言基础-String类型变量的使用
  3. Java中list==null与list.size( )==0的区别
  4. 计算机二级公共知识总结,计算机二级公共基础知识考点总结
  5. 百度分享代码_网销侠:网络营销百问百答之51,百度小程序是什么
  6. 波形发生器设计c语言文件,超低频波形发生器的设计论文(C语言编程) .doc
  7. python网络爬虫程序_Python写的网络爬虫程序(很简单)
  8. html不同类别的列表设置,HTML --列表
  9. oracle12c asmfd,Oracle 12c新特性--ASMFD(ASM Filter Driver)特性
  10. 做开发很久了 Remoting 一直没有碰过,正好最近的项目上面用,就拿出来给大家看看