标签:mes setup.py pre red download ext bin mkdir setup
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
mkdir /usr/local/python3
tar -xvJf Python-3.6.5.tar.xz
cd Python-3.6.5
./configure --prefix=/usr/local/python3
make && make install
ln -s /usr/local/python3/bin/python3 /usr/bin/python3 ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3
ln -f -s /usr/local/python3/bin/python3 /usr/bin/python
vi /usr/bin/yum 把#! /usr/bin/python修改为#! /usr/bin/python2
vi /usr/libexec/urlgrabber-ext-down 文件里面的#! /usr/bin/python 也要修改为#! /usr/bin/python2
安装其他环境
pip3 install PyQt5
pip3 install Qt.py
wget http://www.pyqtgraph.org/downloads/0.10.0/pyqtgraph-0.10.0.tar.gz
tar xvzf pyqtgraph-0.10.0.tar.gz
cd pyqtgraph-0.10.0/
python3 setup.py install
https://codeload.github.com/xmikos/soapy_power/zip/master
Redhat7/centOs7 安装配置python3.6.5
标签:mes setup.py pre red download ext bin mkdir setup
原文地址:https://www.cnblogs.com/dzzy/p/9042320.html