Centos7 下安装最新的python3.8
作者:阿甘亮 时间:2023-04-29 14:44:13
Python 3.8是Python语言的最新版本,它适合用于编写脚本、自动化以及机器学习和Web开发等各种任务。现在Python 3.8已经进入官方的beta阶段,这个版本带来了许多语法改变、内存共享、更有效的序列化和反序列化、改进的字典和更多新功能。
一、删除旧的python3
centos7系统可能有其他的python3版本(一般系统自带python2.7,这个不能删除,因为操作系统启动等操作都需要用到python2.7),先删除多余的python3,再重新安装一个干净的最新的python3。
#卸载pyhton3
rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps
#删除所有残余文件
whereis python3 |xargs rm -frv
#查看现有安装的python
whereis python二、安装最新的python
官网下载:
https://www.python.org/downloads/release/python-380/
#下载这个版本:Python-3.8.0.tgz
拷贝到/root
tar -vxzf Python-3.8.0.tgz
cd Python-3.8.0/
./configure
make
make test ---test出现错误,但是也可以安装
sudo make install
总结
以上所述是小编给大家介绍的Centos7 下安装最新的python3.8,网站的支持!
如果你觉得本文对你有帮助,欢迎转载,烦请注明出处,谢谢!
来源:https://blog.csdn.net/aganliang/article/details/102764584
标签:centos,安装,python3.8
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
asp.net下利用js实现返回上一页的实现方法小集
2024-05-28 15:37:22
Selenium 滚动页面至元素可见的方法
2022-06-01 14:01:05
mysql 时间戳的用法
2024-01-18 03:11:37
诊断SQLSERVER问题常用的日志概述及使用
2024-01-14 04:38:16
![](https://img.aspxhome.com/file/2023/9/92789_0s.jpg)
12种最常用的网页编程语言简介(值得收藏)
2023-01-29 17:40:48
常用ASP自定义函数集 (S.Sams)
2010-05-27 12:24:00
Python 实现自动化Excel报表的步骤
2022-12-01 10:49:29
![](https://img.aspxhome.com/file/2023/2/70712_0s.jpg)
python Web应用程序测试selenium库使用用法详解
2023-10-05 22:15:00
Python学习之pip包管理工具的使用
2023-07-24 11:01:57
![](https://img.aspxhome.com/file/2023/9/97229_0s.png)
SQL Server 使用 SET FMTONLY ON 获得表的元数据
2024-01-24 00:20:41
![](https://img.aspxhome.com/file/2023/3/106273_0s.jpg)
python装饰器常见使用方法分析
2023-06-23 21:18:33
解析SQL Server数据体系和应用程序逻辑
2009-01-23 13:58:00
Python脚本实时处理log文件的方法
2021-02-23 06:40:32
Python采集图片数据的实现示例
2023-03-06 05:53:17
![](https://img.aspxhome.com/file/2023/5/75075_0s.png)
Python入门教程(十)Python布尔值介绍
2022-06-01 18:01:55
![](https://img.aspxhome.com/file/2023/1/81521_0s.png)
详解Python如何利用turtle绘制中国结
2021-02-10 13:52:29
![](https://img.aspxhome.com/file/2023/6/87456_0s.jpg)
Linux-ubuntu16.04 Python3.5配置OpenCV3.2的方法
2022-06-24 09:32:21
![](https://img.aspxhome.com/file/2023/9/100279_0s.jpg)
Python实现比较两个列表(list)范围
2022-07-20 18:08:04
利用Python实现读取Word文档里的Excel附件
2022-01-21 11:28:18
![](https://img.aspxhome.com/file/2023/8/75158_0s.jpg)
Python和GO语言实现的消息摘要算法示例
2023-03-27 02:07:05
![](https://img.aspxhome.com/file/2023/2/93792_0s.png)