install python3 env in centos7
Posted yugengde
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了install python3 env in centos7相关的知识,希望对你有一定的参考价值。
1. install python3 env in centos7
echo "install python3 env in centos7" yum install wget yum install gcc gcc-c++ make openssl-devel -y wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz -O /usr/local/python3.tar.xz mkdir /usr/local/python3 tar -xvf /usr/local/python3.tar.xz -C /usr/local/python3 cd /usr/local/python3/Python-3.6.5 ./configure --prefix=/usr/local/python3 make make install rm /usr/local/python3.tar.xz -rf ln -s /usr/local/python3/bin/python3 /usr/bin/python3 yum install epel-release yum install python-pip -y pip install virtualenv mkdir /byb virtualenv --no-site-packages -p /usr/bin/python3 /byb source /byb/bin/activate pip install scrapy pip install requests pip install pymongo pip install sqlalchemy pip install selenium
以上是关于install python3 env in centos7的主要内容,如果未能解决你的问题,请参考以下文章
install tensorflow in windows with python3
error for rrdtool install(python3安装rrdtool报错)
解决pip install package时Fatal error in launcher: Unable to create process using '"e:python36(