1、wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz 

2、tar zxvf Python-3.6.0.tgz

3、cd Python-3.6.0

4、./configure --prefix=/etc/python/python3.6

5、make && make install

6、ln -s /etc/python/python3.6/bin/python3.6 /usr/bin/python3

7、ln -s /etc/python/python3.6/bin/pip3.6 /usr/bin/pip3

8、pip3 install requests

相关文章:

  • 2021-08-23
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-12-12
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
相关资源
相似解决方案