cptao
yum install libffi-devel openssl -y
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
tar xf Python-3.7.4.tgz
cd Python-3.7.4
./configure --prefix=/usr/local/python3 && make -j4 && make install
rm -rf Python-3.7.4*

添加环境变量

cat /etc/bashrc

PATH=$PATH:$HOME/bin:/usr/local/python3/bin
export PATH

分类:

技术点:

相关文章:

  • 2021-08-13
  • 2022-01-01
  • 2021-11-01
  • 2020-12-19
  • 2021-06-22
  • 2021-06-02
猜你喜欢
  • 2021-10-01
  • 2021-10-01
  • 2022-01-21
  • 2021-11-22
  • 2021-10-01
相关资源
相似解决方案