首頁文件分類網站建置CentOSCentOS 7.x 編譯安裝 Python3.x
CentOS 7.x 編譯安裝 Python3.x

Welcome to Python.org

https://www.python.org/


Download Python | Python.org

https://www.python.org/downloads/


下載 Python
cd /usr/local/src
lynx https://www.python.org/ftp/python/3.5.9/Python-3.5.9.tgz

安裝 Python
tar zxf Python-3.5.9.tgz
cd Python-3.5.9
./configure -h
./configure
./configure --enable-optimizations
make
make test
make install
make clean

執行位置
/usr/local/bin/python3

管理工具
/usr/local/bin/pip3
/usr/local/bin/pip3 -h
/usr/local/bin/pip3 install Django
/usr/local/bin/pip3 install PyMySQL
/usr/local/bin/pip3 install uwsgi
首頁文件分類網站建置CentOSCentOS 7.x 編譯安裝 Python3.x