下载,解压,编译,安装:wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgztar -xvf Python-3.6.0.tgz./configure --prefix=/usr/local/python3make make install链接ln -s /usr/local/python...
下载,解压,编译,安装:
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
tar -xvf Python-3.6.0.tgz
./configure --prefix=/usr/local/python3
make &&make install
链接
ln -s /usr/local/python3/bin/python3 /usr/bin/python3
配置pip3
PATH=$PATH:$HOME/bin:/usr/local/python3/bin
沃梦达教程
本文标题为:linux下安装python3
猜你喜欢
- python中defaultdict用法实例详解 2022-10-20
- Python Pandas如何获取和修改任意位置的值(at,iat,loc,iloc) 2023-08-04
- Python之路-Python中的线程与进程 2023-09-04
- windows安装python2.7.12和pycharm2018教程 2023-09-03
- Python实现将DNA序列存储为tfr文件并读取流程介绍 2022-10-20
- 在centos6.4下安装python3.5 2023-09-04
- python中列表添加元素的几种方式(+、append()、ext 2022-09-02
- CentOS7 安装 Python3.6 2023-09-04
- python线程池ThreadPoolExecutor与进程池ProcessPoolExecutor 2023-09-04
- Python 保存数据的方法(4种方法) 2023-09-04