今天发现ubuntu自带的python版本太老,会出现各种各样的问题,于是我们可以升级一下:
sudo add-apt-repository ppa:jonathonf/python-2.7
sudo apt-get update
sudo apt-get install python2.7
python --version
参考文献
[1].Update Python 2.7 to latest version of 2.x.https://askubuntu.com/questions/725171/update-python-2-7-to-latest-version-of-2-x