Centos
Newtorn
一切的简单是从复杂开始。
展开
-
Centos python2与3安装共存
1.先安装py3所依赖的软件包,否则可能会出现py3安装成功,却缺少相应的pip,命令:yum groupinstall "Development tools"yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel2.wegt下载python3源码并...原创 2018-04-09 21:55:06 · 1477 阅读 · 0 评论 -
Centos下yum安装pip时失败
出现问题:[root@yaxuan ~]# yum -y install pipLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors.tuna.tsinghua.edu.cn* extras: mirrors.tuna....原创 2018-04-09 22:04:21 · 1050 阅读 · 0 评论 -
Centos下yum安装:/usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
出现问题:执行yum,得到:/usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory解决方案:第一种:sudo ln -s /usr/bin/python2.x /usr/bin/python其中x是你的python版本第二种:vi /usr/bin/yum #!/usr/bin/python 修改为 ...原创 2018-04-09 22:09:54 · 15789 阅读 · 1 评论