Mac executes the following order Times wrong, what package is missing?

mac executes the following command Times error, what package is missing
pip install MySQL-python

cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.13-intel-2.7/_mysql.o -L/usr/local/Cellar/mysql/5.7.19/lib -lmysqlclient -lssl -lcrypto -o build/lib.macosx-10.13-intel-2.7/_mysql.so
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command "cc" failed with exit status 1

< hr >

the answer has been found

env LDFLAGS="-I/usr/local/opt/openssl/include/opensll-blockquote blockquote
opt _ pip install MySQL-python opt _ lash _
Aug.16,2021

if you have homebrew installed, you can install openssl brew install openssl

directly.

or download the source code of openssl to compile and install

Menu