当前位置:网站首页>ImportError: libmysqlclient. so. 20: Cannot open shared object file: no such file or directory solution
ImportError: libmysqlclient. so. 20: Cannot open shared object file: no such file or directory solution
2022-07-06 11:22:00 【wx5caecf2ed0645】
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 19, in <module>
File "build/bdist.linux-x86_64/egg/_mysql.py", line 7, in <module>
File "build/bdist.linux-x86_64/egg/_mysql.py", line 6, in __bootstrap__
ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory
terms of settlement :
To /opt/mysql/lib/ Under the table of contents , find libmysqlclient.so.20.1.0 file , Then make a soft connection :
ln -s /opt/mysql/lib/libmysqlclient.so.20.1.0 /usr/lib64/libmysqlclient.so.20
边栏推荐
- Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
- Pytorch基础
- Use dapr to shorten software development cycle and improve production efficiency
- Antlr4 uses keywords as identifiers
- Postman Interface Association
- [蓝桥杯2020初赛] 平面切分
- 数数字游戏
- 安装numpy问题总结
- neo4j安装教程
- Database advanced learning notes -- SQL statement
猜你喜欢
1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration
LeetCode #461 汉明距离
Unable to call numpy in pycharm, with an error modulenotfounderror: no module named 'numpy‘
AcWing 1298. Solution to Cao Chong's pig raising problem
QT creator specifies dependencies
How to build a new project for keil5mdk (with super detailed drawings)
Use dapr to shorten software development cycle and improve production efficiency
02 staff information management after the actual project
Summary of numpy installation problems
02-项目实战之后台员工信息管理
随机推荐
When you open the browser, you will also open mango TV, Tiktok and other websites outside the home page
Generate PDM file from Navicat export table
Attention apply personal understanding to images
Learning question 1:127.0.0.1 refused our visit
机器学习--人口普查数据分析
Record a problem of raspberry pie DNS resolution failure
Ansible实战系列二 _ Playbook入门
L2-006 树的遍历 (25 分)
Rhcsa certification exam exercise (configured on the first host)
[recommended by bloggers] background management system of SSM framework (with source code)
How to set up voice recognition on the computer with shortcut keys
NPM an error NPM err code enoent NPM err syscall open
Cookie setting three-day secret free login (run tutorial)
【博主推荐】SSM框架的后台管理系统(附源码)
机器学习笔记-Week02-卷积神经网络
csdn-Markdown编辑器
【博主推荐】C# Winform定时发送邮箱(附源码)
02-项目实战之后台员工信息管理
Error connecting to MySQL database: 2059 - authentication plugin 'caching_ sha2_ The solution of 'password'
[recommended by bloggers] C WinForm regularly sends email (with source code)