python install
windows安装下载好了软件后,下一步下一步安装就好了.
如下是linux安装.
[root@mysql ~]# wget
[root@mysql ~]# tar -xvf Python-3.6.0.tar.xz
[root@mysql Python-3.6.0]# ./configure --prefix=/usr/local/python36
[root@mysql Python-3.6.0]# make
[root@mysql Python-3.6.0]# make install
/root/.bashrc中加入如下快捷方式:
alias python3='/usr/local/python36/bin/python3.6'
[root@mysql bin]# source /root/.bashrc
[root@mysql bin]# python3
Python 3.6.0 (default, Mar 2 2017, 22:51:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.