1.安装一个python3 libreadline-dev库 sudo apt-get install libreadline-dev 2. 重新安装python3 转载于:https://www.cnblogs.com/Darren-Dai/p/8513333.html