1. install pip python
1). yum -y install epel-releasebootstrap
2). yum install python-pippython2.7
3). pip install --upgrade pipcode
2. pip install -U tensorflowip
===============get
install python3.6pip
1.yum install epel-releaseio
2.yum install python36tensorflow
3. sudo ln -s /usr/local/python3/bin/python3 /usr/bin/pythonyum
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