首页 > 编程语言 > 详细

Linux 系统安装 python

时间:2019-12-07 14:37:41      阅读:91      评论:0      收藏:0      [点我收藏+]

 

 

Centos 7

  1. Centos 7 安装 python3 (不要卸载python2 因为yum 要用) https://phoenixnap.com/kb/how-to-install-python-3-centos-7

  2. Centos 7 安装python3 https://tecadmin.net/install-python-3-7-on-centos/

 

Possible Problem

  1. 如果在 python 里面 import 包的时候遇到 No module named _bz2, 可以先

  (centos) sudo yum install bzip2-devel

 然后重新 configure 和 make 已经安装好的 Python. (参考https://stackoverflow.com/questions/12806122/missing-python-bz2-module)

 

 





 

 

Linux 系统安装 python

原文:https://www.cnblogs.com/mashuai-191/p/12001381.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!