Mac 下 Python3 error: command ‘ gccmysql_config not found & ld: library not found for -lssl 错误已解决方法
问题一:
OSError: mysql_config not found
解决方法
1、brew install mysql
问题二:
clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1
1、brew install gcc
问题三:
ld: library not found for -lssl
解决方法
1、export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
2、brew install openssl
然后 pip3 install -r requirements.txt OK
Mac 下 Python3 error: command ‘ gccmysql_config not found & ld: library not found for -lssl 错误已解决方法最先出现在Python成神之路。
共有 0 条评论