美文网首页
Linux下安装Python

Linux下安装Python

作者: 风去不回 | 来源:发表于2019-01-21 14:02 被阅读0次

    1、下载源码包


    image.png

    2、解压tar -zxvf Python-3.7.1.tgz
    3、在解压目录下执行./configure,(确认已安装gcc)
    4、make
    5、make install
    6、结果测试 执行python3命令,输入print(“hello world””)

    相关文章

      网友评论

          本文标题:Linux下安装Python

          本文链接:https://www.haomeiwen.com/subject/oarwrqtx.html