当前位置:网站首页>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
边栏推荐
- 01项目需求分析 (点餐系统)
- [download app for free]ineukernel OCR image data recognition and acquisition principle and product application
- SSM整合笔记通俗易懂版
- NPM an error NPM err code enoent NPM err syscall open
- Are you monitored by the company for sending resumes and logging in to job search websites? Deeply convinced that the product of "behavior awareness system ba" has not been retrieved on the official w
- MySQL completely uninstalled (windows, MAC, Linux)
- Some notes of MySQL
- Punctual atom stm32f103zet6 download serial port pin
- neo4j安装教程
- 图片上色项目 —— Deoldify
猜你喜欢
[ahoi2009]chess Chinese chess - combination number optimization shape pressure DP
02 staff information management after the actual project
[free setup] asp Net online course selection system design and Implementation (source code +lunwen)
一键提取pdf中的表格
Solution: log4j:warn please initialize the log4j system properly
PyCharm中无法调用numpy,报错ModuleNotFoundError: No module named ‘numpy‘
Deoldify project problem - omp:error 15:initializing libiomp5md dll,but found libiomp5md. dll already initialized.
[recommended by bloggers] asp Net WebService background data API JSON (with source code)
LeetCode #461 汉明距离
【博主推荐】asp.net WebService 后台数据API JSON(附源码)
随机推荐
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
虚拟机Ping通主机,主机Ping不通虚拟机
解决安装Failed building wheel for pillow
Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
MySQL master-slave replication, read-write separation
Solution: log4j:warn please initialize the log4j system properly
[recommended by bloggers] C WinForm regularly sends email (with source code)
Redis的基础使用
One click extraction of tables in PDF
02 staff information management after the actual project
Test objects involved in safety test
Knowledge Q & A based on Apache Jena
Neo4j installation tutorial
@Controller, @service, @repository, @component differences
When you open the browser, you will also open mango TV, Tiktok and other websites outside the home page
The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
Ubuntu 20.04 安装 MySQL
[蓝桥杯2017初赛]包子凑数
Swagger, Yapi interface management service_ SE
Principes JDBC