1.解释器的编译安装
[root@foundation78 ~]# ls # 先下载一个解释器的tar包
Python-3.6.6.tgz
[root@foundation78 ~]# tar zxf Python-3.6.6.tgz # 解压这个tar包
[root@foundation78 ~]# yum install -y gcc zlib zlib-devel openssl-devel readline readline-devel # 下载编译解释器所依赖的安装包
[root@foundation78 ~]# cd Python-3.6.6/
[root@foundation78 ~]# ./configure --prefix=/usr/local/python3.6 --with-ssl # 开始编译,把自己所需要的功能编译
[root@foundation78 ~]# make && make install
# python 的解释器到底有多大
[root@foundation78 Desktop]# ls -lh /usr/local/bin/python3.6
-rwxr-xr-x. 2 root root 11M Jan 15 11:43 /usr/local/bin/python3.6
2.pycharm解释器的修改