CentOS7.6 Install TensorFlow

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

posted @ 2019-01-09 15:22  Alex~  阅读(375)  评论(0编辑  收藏  举报