【发布时间】:2018-09-20 15:32:34
【问题描述】:
在 CentOS 7 上从源代码编译 Python 3.4.3 时,README 指示运行
./configure
make
make test
sudo make install
第二步,make,我明白了
Python build finished successfully!
The necessary bits to build these optional modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _lzma
_sqlite3 _ssl _tkinter
readline zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
但是 setup.py 的源代码中没有任何内容表明要做什么?好像我已经有了必备的包?
$ sudo yum install readline
...
Package readline-6.2-10.el7.x86_64 already installed and latest version
Nothing to do
如何获取 python 3 的 readline 模块?
【问题讨论】:
标签: python python-3.x centos readline