我最近在我的工作场所的linux机器上安装了python 3.6.3。我是从源代码编译的。当我进入python shell时,退格键和箭头键无法正常工作。它们显示为某种转义字符
如果有帮助,以下是运行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.
安装在同一系统上的python 2.6版本正常运行
python 2.6安装在/usr/bin
位置,python 3.6.3位于/usr/local/bin