运行scrapy爬虫出现错误:exceptions.ImportError: libmysqlclient.so.18: cannot open shared object file
来源:互联网 发布:锐车源码 编辑:程序博客网 时间:2024/06/09 11:29
错误原因:
找不到libmysqlclient.so.18
文件
解决方法:
1.查找libmysqlclient.so.18文件位置:
# find / -name 'libmysqlclient.so.18' -print/alidata/server/mysql/lib/libmysqlclient.so.18
2.设置软连接:
ln -s /alidata/server/mysql/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.18
3.重启系统的动态链接库
ldconfig
问题解决!
0 0
- 运行scrapy爬虫出现错误:exceptions.ImportError: libmysqlclient.so.18: cannot open shared object file
- ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
- ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
- ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
- ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
- python 运行 MySQL-python libmysqlclient.so.18: cannot open shared object file: No such file
- 解决错误 libmysqlclient.so.18: cannot open shared object file: No such file or directory
- python连接mysql数据库时报错:import _mysql ImportError: libmysqlclient.so.18: cannot open shared object file:
- sphinx 运行出现 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: 的解决办法
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such
- libmysqlclient.so.18: cannot open shared object file: No such file or directory
- libmysqlclient.so.18: cannot open shared object file: No such file or directory
- libmysqlclient.so.18: cannot open shared object file: No such file or directory
- libmysqlclient.so.18: cannot open shared object file: No such file or directory
- Nagios监控mysql从库报错: libmysqlclient.so.18: cannot open shared object file: No such
- Nagios监控mysql从库报错: libmysqlclient.so.18: cannot open shared object file: No such
- 解决ImportError: libmysqlclient_r.so.16: cannot open shared object file
- 网易笔试问题--跳格子
- Ubuntu安装Laravel
- 学习记录:android GrantUriPermission
- Hexo github 创建博客时遇到的问题
- 进程间的几种通信方式
- 运行scrapy爬虫出现错误:exceptions.ImportError: libmysqlclient.so.18: cannot open shared object file
- 后台开发与APP配合开发中的一些拙见
- 加密算法介绍
- Hibernate基础CRUD
- hibernate fetch
- 文件搜索指令 locate
- Laravel -- laravel环境的安装
- 【Qt开发】qt中涉及到空格包含路径的解决办法
- 点滴记录——Ubuntu 14.04中安装Sublime Text 3并使用SublimeClang插件