mysqlclient在python3 virtualenv(Mac OS)中安装失败
我正在尝试使用以下命令在python3 virtualenv中安装mysqlclient:mysqlclient在python3 virtualenv(Mac OS)中安装失败,mysql,python-3.x,Mysql,Python 3.x,我正在尝试使用以下命令在python3 virtualenv中安装mysqlclient: pip3安装mysqlclient 以下是我得到的错误: clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1 ----------------------------------------
pip3安装mysqlclient
以下是我得到的错误:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for mysqlclient
lssl到底是什么?我尝试了brew安装lssl
,但没有类似的内容。
希望在这方面得到一些帮助:(
注意:Im使用python3.6.5您可能需要安装命令行工具
xcode-select --install