在使用createlang 安装plpythonu的时候出现如下错误:could not open extension control file "/usr/share/postgresql/9.1/extension/plpythonu.control": No such file or directory主要原因是安装postgresql的时候没有使用--with-python选项编译好PL/Python对于已经安装好的postgresql可以通过以下方式解决缺少依赖包的问题:su…
linux64 red hat 6.3企业版 开始错误装了32位mysql最后怎么也装不上64mysql了,折腾了一番最后全部卸载搞定: file /etc/init.d/mysql from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386    file /usr/bin/my_print_defaults from insta…
在CentOS 6.5安装MySQL 5.6.17,安装到最后一个rpm文件MySQL-server时 安装命令是:rpm -ivh MySQL-server-5.6.17-1.el6.x86_64.rpm 出现了错误信息: error: Failed dependencies: libaio.so.1()(64bit) is needed by MySQL-server-5.6.17-1.el6.x86_64 libaio.so.1(LIBAIO_0.1)(64bit) is needed b…
1:也许之前的机器安装过Mysql,但是自己不知道,账号密码也忘记了,又执行安装操作,导致Mysql不兼容问题.Linux上安装MySQL时出现不兼容的解决办法,错误如下所示: [root@master package]# rpm -ivh MySQL-server--.glibc23.i386.rpm Preparing... ########################################### [%] file /usr/share/mysql/charsets/READM…
  $ uname -a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux $ python --version Python 2.7.9 $ pip --version pip 8.1.1 from /usr/local/lib/python2.7/dist-packages (python 2.7) $ unset LC_ALL $ pip install…
错误代码: Exception: Traceback (most recent call last): File , in check_if_exists self.satisfied_by = pkg_resources.get_distribution(str(no_marker)) File , in get_distribution dist = get_provider(dist) File , in get_provider ] File , in find raise Versio…
由于日常程序使用了字符集utf8mb4,为了避免每次更新时,set names utf8mb4,就把配置文件改了,如下: [root@~]# vim /etc/my.cnf #my.cnf [client] port = 3306 socket = /home/mysql/mysql.sock default-character-set=utf8mb4 重启MySQL服务,进入mysql时,就报错: [root@~]# mysql Logging to file ‘/home/mysql/que…
nginx的location虚拟目录配置: monitor.conf server {       server_name   monitor.chinasoft.com;       server_name   1.1.1.1;     error_log  /data/logs/web-acccess.log  info;       access_log /data/logs/web-error.log;          location /jiankongshare{        …
pytesseract.pytesseract.TesseractError: (1, 'Error opening data file /usr/local/share/tessdata/chi_sim.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language \'chi_sim\'…
使用yum安装mysql服务端: [root@centos ~]# yum -y install mysql-server Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile epel | : extras | : os | : updates | : Resolving Dependencies --> Running tran…