进入Python3.7的shell后,左右上下键出现^[[A符号
解决方案:
pip install readline
若这一步出现错误:error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
解决:apt-get install python-dev
重新执行:pip install readline
进入Python目录:
./configure
make
make install

Logo

更多推荐