报错:    No module named '_ctypes'

  

  若在安装前移除了/usr/bin下python的文件链接依赖,此时yum无法正常使用,需要自己下载相关软件包安装,为节省读者时间,放上链接

  #wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-18.el7.x86_64.rpm
  #rpm -ivh libffi-devel-3.0.13-18.el7.x86_64.rpm

  或者  rpm -ivh http://mirror.centos.org/centos/7/os/x86_64/Packages/libffi-devel-3.0.13-18.el7.x86_64.rpm

  安装rpm文件报错  : error: Failed dependencies:

  添加安装时添加两个参数 : rpm -ivh libffi-devel-3.0.13-18.el7.x86_64.rpm --nodeps --force

  然后make clean    重新make

 

相关文章:

  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-09-14
猜你喜欢
  • 2021-11-21
  • 2021-08-09
  • 2021-07-27
  • 2022-02-08
  • 2021-12-16
  • 2021-06-24
  • 2021-09-06
相关资源
相似解决方案