linux如何退出python编辑器_centos linux 终端已经调成python3,怎么安装python3的IDLE编译器,...
1. 準備
安裝模塊
# yum groupinstall "Development tools"
# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel
Python3.4 安裝
下載代碼 configure → make → make altinstall
# cd /usr/local/src
# wget https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz
# tar -zxvf Python-3.4.3.tgz
# cd Python-3.4.3
# ./configure --prefix=/usr/local/python
# make && make altinstall
安裝Python3.4 :公用庫的安裝
# echo "/usr/local/python/lib" >> /etc/ld.so.conf
# ldconfig
安裝Python3.4: 4. /usr/local/bin/
# ln -s /usr/local/python/bin/python3.4 /usr/local/bin/python
安裝Python3.4 :5. 確認是否安裝正確
# /usr/local/python/bin/python3.4 -V
總結
以上是生活随笔為你收集整理的linux如何退出python编辑器_centos linux 终端已经调成python3,怎么安装python3的IDLE编译器,...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python中if语句and和or用法_
- 下一篇: python中chr函数的用法_pyth