1.ubuntu16.04,通过python2.7.11的pip安装mysql-python失败,提示:
Complete output from command python setup.py egg_info: sh: 1: mysql_config: not found Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-_SYH5V/MySQL-python/setup.py", line 17, in <module> metadata, options = get_config() File "/tmp/pip-build-_SYH5V/MySQL-python/setup_posix.py", line 43, in get_config libs = mysql_config("libs_r") File "/tmp/pip-build-_SYH5V/MySQL-python/setup_posix.py", line 25, in mysql_config raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found
2.
sudo apt-get install libmysqld-dev
3.
pip install MySQL-python
Collecting MySQL-python Downloading MySQL-python-1.2.5.zip (108kB) 100% |████████████████████████████████| 112kB 42kB/s Building wheels for collected packages: MySQL-python Running setup.py bdist_wheel for MySQL-python ... done Stored in directory: /home/ichaogu/.cache/pip/wheels/38/a3/89/ec87e092cfb38450fc91a62562055231deb0049a029054dc62 Successfully built MySQL-python Installing collected packages: MySQL-python Successfully installed MySQL-python-1.2.5
相关推荐
有时候会遇到客户是内网环境的,无法在线通过apt install mysql-server进行安装,本文将提供mysql5.7.33所需的离线安装包和依赖。
Ubuntu16.04LTS正版镜像-Ubuntu16.04系统ios-Linux官网资源,内含系统安装步骤!新手可用,大佬多支持!
Ubuntu 16.04 安装----搜狗、Chrome、git、JDK、Eclipse.docx
ubuntu镜像版本号是16.04.7(server-amd64),文件大小901120KB,镜像对外发布时间为2020-08-14 08:59:06,格式为ISO格式的镜像文件。 系统名称 ubuntu 16.04.7 版本号 16.04.7(server-amd64) 大小(KB) 901120KB 发布...
ubuntu-16.04.7-desktop-amd64
libmysqld-dev_5.7.25-1ubuntu16.04_amd64.deb,mysql-client_5.7.25-1ubuntu16.04_amd64.deb,mysql-common_5.7.25-1ubuntu16.04_amd64.deb,mysql-community-client_5.7.25-1ubuntu16.04_amd64.deb,mysql-...
ubuntu-base-16.04-core-armhf.tar.gz ubuntu-base-16.04-core-armhf.tar.gz
ubuntu-16.04-desktop-amd64
ubuntu-16.04.7-server-amd64.template
Ubuntu 16.04安装Audio Recorder-录音软件.docx
Ubuntu16.04搭建Hadoop2.6.7-纯命令.docx
2. Ubuntu16.04 内核版本4.15.0-137-generic 直接可以编译成功,实测可用 3. 关于 insmod时出现 ERROR:Required key not available 的解决方式如下 sudo apt install mokutil sudo mokutil --disable-validation ...
Ubuntu16.04搭建Hadoop2.6.7-图文详细版.docx
有时候会遇到客户是内网环境的,无法在线通过apt-get install vsftpd进行安装,本文将提供vsftpd_3.0.3的离线安装包。 安装步骤 1、上传至指定文件夹后,执行命令 tar -zxvf vsftpd_3.0.3.tar.gz 进行解压 2、然后...
ubuntu-16.04.4-desktop-amd64.iso百度网盘下载地址,古人诚不我欺。
深度学习-在ubuntu16.04安装CUDA9.1-总结(问题完全-解决方案).docx
如果是安装了ubuntu 16.04.3-server-amd64.zip的可以下载 mysql 5.7.20版本的,下载解压即可,也可到官网下载其他版本的mysqlhttps://downloads.mysql.com/archives/
MySQL数据库安装软件
Ubuntu16.04亲测openssl-1.0.2r.tar包,换件配置过,非常不错,新手一学就会。我的博客有相关步骤文档,可以多支持下,谢谢!
mysql-connector-java_8.0.16-1ubuntu16.04_all.deb,上传以备份,方便下载