How to Install Python 3.6 on CentOS/RHEL 7/6

yum install epel-release
yum -y groupinstall development
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-devel

#Check the available python 3 version.
yum --disablerepo="*" --enablerepo="epel" info python3

cd /usr/src
tar xzf Python-3.6.8.tgz

cd Python-3.6.8
./configure --enable-optimizations
make altinstall

python3.6 -V

# Activate the my36project sandbox:
source my36project/bin/activate
# Check the Python version in the sandbox (it should be Python 3.6.8):
python --version
# Deactivate the sandbox:
  1. cialis说道:
    Google Chrome Mac OS X 10.10.5
    I think this is one of the most important info for me. And i am glad reading your article. But wanna remark on some general things, The web site style is wonderful, the articles is really great : D. Good job, cheers
    1. admin说道:
      Google Chrome Windows 10
      Thank you. I hope it will help you.


电子邮件地址不会被公开。必填项已用 * 标注