linux安装python3.6 setuptools_linux下安装Python3.6.1
linux下安裝Python3.6.1
Python-3.6.1下載wget??https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
解壓、編譯、安裝tar?Jxvf??Python-3.6.1.tar.xz
cd?Python-3.6.1
./configure?--prefix=/usr/local/python3
make?&&?make?install
最終顯示下面代碼表示python3.6.1安裝成功Collecting?setuptools
Collecting?pip
Installing?collected?packages:?setuptools,?pip
Successfully?installed?pip-9.0.1?setuptools-28.8.0
如果提示同時成功安裝pip-9.0.1與setuptools!
那么就可以做軟鏈接了,如下:ln?-s?/usr/local/python3/bin/python3.6?/usr/local/bin/python3
查看pip版本:pip?--version
pip?8.1.2
升級pip到最新版本:
pip install --upgrade pip
pip --version
pip 9.0.1
總結
以上是生活随笔為你收集整理的linux安装python3.6 setuptools_linux下安装Python3.6.1的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: opencv 边缘平滑_基于OpenCV
- 下一篇: JAVA入门级教学之(JAVA程序的加载