一、打开python主页:https://www.python.org/downloads/

在Linux自己Home下安装python

本次安装选择Pthon 2.7.13版本

 

二、下载python安装包:https://www.python.org/downloads/release/python-2713/

在Linux自己Home下安装python

 

在Linux自己Home下安装python

 

 三、安装

$ tar xf Python-2.7.13.tar.xz

$ ./configure --prefix=/public1/home/Serenity/installed_software/Python-2.7.13

$ make

$ make install

 

四、设置环境变量

$ vi ~/.bash_profile

      #Python
        export PythonPATH:/public1/home/Serenity/installed_software/Python-2.7.13/:$PythonPATH

$ source  ~/.bash_profile

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2021-10-10
  • 2022-02-19
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-11-12
  • 2021-07-19
相关资源
相似解决方案