首先 更新软件! sudo apt-get update 然后尝试安装mysqlclient,报错 后执行下面的步骤 安装mysql驱动之 mysqlclient 出现的报错信息处理 报错1: OSError: mysql_config not found     出现上面错误主要还是因为未安装python依赖 解决:方法1    执行    sudo apt-get install python3.6-dev libmysqlclient-dev   这里需要指定python版本 方法2  …
1.下载安装包 下载地点:https://dev.mysql.com/downloads/mysql/ 或者 wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz 2.创建Mysql 系统用户 root@kali:~# groupadd mysql root@kali:~# usera…
1.通过https://mirrors.tuna.tsinghua.edu.cn镜像源安装了MySQL5.7.22 rpm -ivh --force --nodeps https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql57-community-el7/mysql-community-client-5.7.22-1.el7.x86_64.rpm rpm -ivh --force --nodeps https://mirrors.tuna.tsi…
python 3.5.2安装mysql驱动报错 python 3.5.2安装mysql驱动时出现如下异常: [root@localhost www]# pip install mysql-connector-python Collecting mysql-connector-python Could not find a version that satisfies the requirement mysql-connector-python (from versions: ) No match…
参考文章: https://blog.csdn.net/qq_38198744/article/details/80261695 前文说过如何在Ubuntu环境下 为PyQt5  安装MySql驱动, 这里面主要说的是如何在Windows环境下安装MySql驱动. # -*- coding: utf-8 -*- ''' [简介] PyQt5中 处理database 例子 ''' import sys from PyQt5.QtCore import * from PyQt5.QtGui impo…
1.错误信息:登录系统后,屏幕弹出几个错误对话框,无菜单.无按钮 GConf error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/g…
安装PHP过程中,make步骤报错:(集合网络上各种解决方法) (1)-liconv -o sapi/fpm/php-fpm /usr/bin/ld: cannot find -liconv collect2: ld returned 1 exit status make: *** [sapi/fpm/php-fpm] Error 1 [root@localhost php-5.4.5]# 初步定位是iconv的问题解决方法 把libiconv卸载掉进入libiconv源码目录执行#make u…
sqoop将mysql数据表导入到hive报错 [root@ip---- lib]# sqoop import --connect jdbc:mysql://54.223.175.12:3308/gxt3 --username guesttest --password guesttest --table ecomaccessv3 -m 1 --hive-import Warning: /opt/cloudera/parcels/CDH--.cdh5./bin/../lib/sqoop/../ac…
安装hue时,make apps 编译报错 :"Error: must have python development packages for 2.6 or 2.7. Could not find Python.h. Please install python2.6-devel or python2.7-devel". Stop. 原因:排查最终原因是,python等某些依赖未安装/未安装好.   依赖未安装的原因,是配置了本地yum源. 解决方法: 可能是本地yum源配置的原因,…
安装VS 2015完成后,VS2012 打开报错 打开VS2012Web项目,弹出错误提示: asp.net 4.0 has not been registered on the web server. you need to manually configure…… 解决办法: 微软官方下载补丁包,安装: https://support.microsoft.com/en-us/kb/3002339 再次从打开VS2012 打开Web项目OK了.…