yum -y install python-devel

yum -y install python-devel的时候报错如图:

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras&infra=stock: (28, ‘Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds‘)

2.解决办法:

原文地址:https://www.cnblogs.com/yyl6/p/12046473.html

时间: 2024-07-29 16:28:54

yum -y install python-devel的相关文章

yum -y install与yum install有什么不同

yum -y install 包名(支持*) :自动选择y,全自动yum install 包名(支持*) :手动选择y or nyum remove 包名(不支持*)rpm -ivh 包名(支持*):安装rpm包rpm -e 包名(不支持*):卸载rpm包 yum -y install与yum install有什么不同

yum -y install pip No package pip available. Error: Nothing to do

centos下安装pip时失败: [[email protected] ~]# yum -y install pipLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors.tuna.tsinghua.edu.cn* extras: mirrors.tuna.tsinghua.edu.cn* updates: mirror

安装g++,在centos上执行yum -y install gcc gcc-c++ libstdc++-devel

Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.163.com * extras: mirrors.cqu.edu.cn * updates: mirrors.nwsuaf.edu.cn Setting up Install Process Resolving Dependencies --> Running transaction check -

解决安装yum -y install make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel后无法连接mysql

查看mysqld.log 日志: mysql日志 171210 19:38:22 [Note] Plugin 'FEDERATED' is disabled. 171210 19:38:22 InnoDB: The InnoDB memory heap is disabled 171210 19:38:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins 171210 19:38:22 InnoDB: Compressed tables

How to install Python 2.7 and Python 3.3 on CentOS

In this guide I will show you how to install Python 2.7 and 3.3 on CentOS 6. The examples below are for Python 2.7.6 and Python 3.3.5, but the procedure is the same for any modern version of Python including the upcoming Python 3.4.0. I make regular

install Python 2.7 and Python 3.3 on CentOS 6

来自:http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/ In this guide I will show you how to install Python 2.7 and 3.3 on CentOS 6. The examples below are for Python 2.7.6 and Python 3.3.5, but the procedure is the same for any modern

/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解决方法:上面的提示说明yum脚本没有找到python命令.只要找到python命令的路径,然后建立个软链接即可.如:sudo ln -s /usr/bin/python2.4 /usr/bin/pythonps:yum命令是用python脚本写的.打开yum脚本,你可以看到. /usr/bin/yum: /u

install python+twisted+mysqldb+nginx+uwsgi on mac

一. install python 1) check install or not 在mac终端输入命令:which python 即可查看python的路径 2)未安装时,手动下载安装包 地址:https://www.python.org/downloads/ 选择下载   Mac OS X 64-bit/32-bit installer 安装 二. install twisted 1) check install or not 在mac终端输入命令:$ python Python 2.7.1

AIX 7.1 install python

环境AIX7.1   安装python-2.6.2  因为网上很多安装文档,所以并没有细挑版本,因为我觉得python2.6 可能相对保守一些,至少之前用到的版本是这个,所以此处依然选择熟悉的版本. 废话不多说,直接下载这3个安装包. http://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/python/python-2.6.2-2.aix6.1.ppc.rpm ftp://ftp.software.ibm.com/aix