当前位置:网站首页>Phthon3 install mysqldb error problem solving reason: image not found
Phthon3 install mysqldb error problem solving reason: image not found
2022-07-19 04:30:00 【Mr. Xiangzai】
This kind of information :
Library not loaded: libssl.1.1.dylib
packages/MySQLdb/_mysql.cpython-38-darwin.so
Reason: image not found
The error information is as follows :
ImportError: dlopen(/Users/XXXX/ Work related /CODE====Edit/cph_api_service/venv/lib/python3.8/site-packages/MySQLdb/_mysql.cpython-38-darwin.so, 2): Library not loaded: libssl.1.1.dylib
Referenced from: /Users/XXXX/ Work related /CODE====Edit/cph_api_service/venv/lib/python3.8/site-packages/MySQLdb/_mysql.cpython-38-darwin.so
Reason: image not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):terms of settlement
First of all, this machine needs to be installed mysql
* lib git:(master) * pwd
/usr/local/mysql/lib
* lib git:(master) * ls
libcrypto.1.1.dylib libmysqlclient.dylib libprotobuf.3.6.1.dylib mecab
libcrypto.dylib libmysqlservices.a libprotobuf.dylib pkgconfig
libmysqlclient.21.dylib libprotobuf-lite.3.6.1.dylib libssl.1.1.dylib plugin
libmysqlclient.a libprotobuf-lite.dylib libssl.dylibthen cd /usr/local/lib Below directory
sudo ln -s /usr/local/mysql/lib/libmysqlclient.21.dylib /usr/local/lib/libmysqlclient.21.dylib
sudo ln -s /usr/local/mysql/lib/libssl.1.1.dylib /usr/local/lib/libssl.1.1.dylib
sudo ln -s /usr/local/mysql/lib/libcrypto.1.1.dylib /usr/local/lib/libcrypto.1.1.dylib
What is missing in error reporting Just add any mapping Then it's all right
边栏推荐
- WPF cannot find resource file problem
- OSPF路由控制,防环相关知识
- 笔记本电脑插入耳机仍然外放(亲测有效)
- Technical writing guide for programmers to leave work early
- AttributeError: ‘NoneType‘ object has no attribute ‘sort‘
- 详解Pod和容器资源管理和分配(CPU和内存分配,临时存储管理)
- 基于JIRA7.9.2定制修改
- 李宏毅_机器学习_作业4(详解)_HW4 Classify the speakers
- minimum spanning tree
- C # use this keyword to concatenate constructor to call method
猜你喜欢

Introduction to Maui framework 05 MVVM data model understanding

Eas (energy aware scheduling) green energy-saving scheduler

Xcode11 add a boot page (the launch images source option is missing after the upgrade)

Nearly 90% of servers can be saved, but the anti fraud efficiency has increased significantly. Why is PayPal's plan to break the "Ai memory wall" so cost-effective?
![[super cloud terminal to create a leading opportunity] local computing cloud management, Intel helps digitalize Education](/img/5e/8553594c0e496e87dbfee5f395cb43.jpg)
[super cloud terminal to create a leading opportunity] local computing cloud management, Intel helps digitalize Education

JS modal box

Distributed notes (02) - redis of distributed cache (brief description of uses, features, high availability solutions redis cluster, tweetproxy, CODIS)

安全第三天iptables防止nmap扫描以及binlog

模拟服务器进行请求

Wechat e-book reading of small program graduation project (4) opening report
随机推荐
Wkwebview white screen
Intel + Lenovo jointly launched open source cloud solutions
AttributeError: ‘NoneType‘ object has no attribute ‘sort‘
C# List 集合对象去重 Linq去重 带时间去重
Structure gets the address of the main structure (struct) through member variables
WildFly:如何从位于另一个应用程序中的 EJB 调用 EJB
OSPF基础优化
C # use this keyword to concatenate constructor to call method
Academic sharing | design and development of multi staining pathological image information evaluation system based on openvino
Smart fan system based on STM32F103
Heartless sword Chinese English bilingual poem 005 Lyric
Wechat e-book reading applet graduation design of applet completion works (3) background function
STM32——定时器系列(二)通用定时器
64. 最小路径和:给定一个包含非负整数的 m x n 网格 grid ,请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。 说明:每次只能向下或者向右移动一步。
详解Pod和容器资源管理和分配(CPU和内存分配,临时存储管理)
Wechat e-book reading applet graduation project (8) graduation project thesis template
Technical writing guide for programmers to leave work early
[ruoyi Vue plus] learning notes 30 - redisson (VI) bounded blocking queue (redisson source code + Lua script)
Touchid and faceid~1
donet framework4. X==windows form application new project, through system Data. SqlClient connects to sqlserver to query