python install
windows安装下载好了软件后,下一步下一步安装就好了.
如下是linux安装.
[root@mysql ~]# wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
[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.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24237320/viewspace-2134877/,如需转载,请注明出处,否则将追究法律责任。