python编译安装error ffi ctype_跪求!!安装python 时无法自动安装 ctype 库

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

操作系统 CentOS 8.2

GCC版本: 8.3.1

glibc : 2.28

安装 python 3.9.0 时,能编译成功、也能安装完成;但总是报 ctypes 模块未安装

网上查了很多资料,说依赖库找不到,但 tcl, ffi , zlib, sqlite3 等这些都安装了,但始终 在 安装 python 时有如下信息:

Python build finished successfully!

The necessary bits to build these optional modules were not found:

_bz2 _curses _curses_panel

_dbm _gdbm _lzma

_sqlite3 _tkinter _uuid

nis readline

To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been

built by the Makefile instead, as configured by the Setup files:

_abc atexit pwd

time

Failed to build these modules:

_ctypes

折腾好几天了,很崩溃。。。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值