1. install pip

    1).  yum -y install epel-release

    2).  yum install python-pip

    3).  pip install --upgrade pip

2. pip install -U tensorflow


===============

install python3.6

1.yum install epel-release

2.yum install python36

3. sudo ln -s /usr/local/python3/bin/python3 /usr/bin/python

4. sudo vi /usr/bin/yum 将第一行指定的 python 版本改为 python2.7(#!/usr/bin/python 改为 #!/usr/bin/python2.7


================

install pip3

1. wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py

2. python3 get-pip.py

3. pip3 -V

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2021-09-08
  • 2021-04-15
  • 2021-08-23
  • 2022-12-23
  • 2021-10-05
  • 2021-11-04
猜你喜欢
  • 2021-12-03
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
相关资源
相似解决方案