一、 安装GCc软件redhat : yum install gccsuse linux : yast ----> gcc二、安装python3# wget https://www.python.org/ftp/Pyth
一、 安装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'
>>>
--结束END--
本文标题: linux 安装python3
本文链接: https://lsjlt.com/news/192879.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0