一、 安装gcc软件
redhat : yum install gcc
suse linux : yast ----> gcc
二、安装python3
# wget https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz # tar -zxf Python-3.4.4.tgz # cd Python-3.4.4 # ./configure # make # make install #测试是否成功 # python3 Python 3.4.4 (default, Feb 11 2017, 04:46:28) [GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "/etc/pythonstart", line 7, in <module> import readline ImportError: No module named ‘readline‘ >>>
原文:http://11466759.blog.51cto.com/11456759/1896922