-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
centos7 升级到python3 #11
Comments
安装pyhton3.71、下载安装包
3、配置安装环境
4、编译安装python
5、设置默认python
安装pyhton3.8
配置安装环境
解压安装
添加软链接
|
编译很慢解决办法
|
快速的安装python3.8版本Centos 7 自带Python2.7.5版本。而默认的 YUM 安装的python3是 3.6版本,遂升级到3.8版本
创建软链接
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前python2已经完全不更新了
而且会莫名其妙出现各种各样的问题
下面是升级到python3的方法
1、手动安装
提示没有gcc,则要先安装一下
如果提示出现 'Ignoring ensurepip failure: pip 7.1.2 requires SSL/TLS'
2、使用一键脚本安装
参考这里:https://github.com/Jrohy/python3-install
The text was updated successfully, but these errors were encountered: