centos 7 install MySQL-python

devopsec 等级 592 0 0

centos 7 install MySQL-python

安装 MySQL-python

#安装命令
easy_install-2.7 install MySQL-python  

报错解决

1. EnvironmentError: mysql_config not found
解决办法:yum install mysql-devel


2. _mysql.c:29:20: fatal error: Python.h: No such file or directory
解决办法:yum install python-devel
收藏
评论区

相关推荐

centos 7 install MySQL-python
centos 7 install MySQLpython 安装 MySQLpython 安装命令 easy_install2.7 install MySQLpython 报错解决 1. EnvironmentError: mysql_config not found 解决办法:yum install mysqldevel 2
gcc版本升级方式 | 一盏离愁孤灯伫立在窗口
>yum -y install centos-release-scl yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils scl enable devtoo
CentOS7 Install SMPlayer
How to setup multimedia on CentOS 7 You will need to also install the EPEL repository as nux-dextop depends on this for some of its packages. Step 1: Install the nux-dextop repos
CentOS7 PHP+Redis实现Session共享
先yum简单的安装redis wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/epel-7.repo yum -y install redis 简单配置一下: vim /etc/redis.conf daemonize ye
CentOS安装PyQT5
CentOS安装PyQT5.11 ---------------- yum install qt5-qtbase-devel pip3 install pyqt5 python3 -c "from PyQt5 import QtWidgets" CentOS安装PyQT5.6 --------------- #### 一、安装CentOS7
Centos6安装GDB调试信息
安装debuginfo install:yum install yum-utils 修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的enable=1 使用 debuginfo-install glibc-2.12-1.132.el6.i686 安装 没有CentOS-Debuginfo.repo文件就创建一个,
Centos7命令行安装Tomcat以及配置防火墙开放端口
【转载】Centos 7 yum安装tomcat 命令: ============================ 系统环境 CentOS Linux release 7.2.1511 (Core) 一、搭建准备: 1、先到tomcat官网https://tomcat.apache.org/查看下载路径 2、安装wget [r
Docker 安装
( CentOS 7 ) 使用 yum 方式安装 docker : [root@localhost ~]$ curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker.repo [root@localhost ~]$ yum
Docker安装及基本命令
###安装/启动Docker ####在CentOS 7上安装 Docker默认已经包含在CentOS-Extra仓库中,使用以下命令安装 sudo yum install docker ####在CentOS 6.5上安装 对于CentOS 6.5,Docker是 [EPEL](https://www.oschina.net/a
Docker镜像制作
  使用docker原始源为centos制作一个nginx镜像   pull一个centos镜像 docker pull centos   运行进入容器 docker run -it centos   容器内安装wget yum -y install wget   更换镜像源为阿里 wget -O /etc/y
How to Install Oracle Database 12c on CentOS 7
How to Install Oracle Database 12c on CentOS 7 ============================================== ### On this page 1. [Step 1 - Install required Packages](https://www.oschina.net/ac
Install MongoDB Community Edition on Red Hat or CentOS
* Edition on Red Hat or CentOS Install MongoDB Community Edition on Red Hat or CentOS ====================================================== On this page * [Overview](https:
Install docker to Redhat 7
1)   sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 2) sudo yum install docker-ce docker-ce-cli containerd.io 3)   上面2)应该会出错,告诉你contai
Install hadoop, install hive, 及hive的使用
hadoop , hive 安装过程和配置文件(附件)。 注意: hadoop Name Node未做ha. Hive, 还是基本的hive on MR, 未使用on tez, on spark,  未配置**LLAP、** HCatalog and WebHCat。 安装完之后,以下是hive使用例子:   **从本
MariaDB install
Yum **安装Maria** **//https://mariadb.com/kb/en/the-mariadb-library/yum/** **\# linux 下安装MariaDB过程** 1、 **进站选版本,双击最后一项** **https://downloads.mariadb.org/mariadb/repositories/#mi