![](/img/trans.png)
[英]Mac OS Sierra virtualenv (python 2.7) pip install mysqlclient error
[英]mysqlclient installation failing in python3 virtualenv(Mac OS)
我嘗試使用以下命令在 python3 virtualenv 中安裝 mysqlclient:
pip3 install 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 install lssl
但沒有這樣的東西存在。 很想在這方面得到一些幫助:(
注意:我使用的是python3.6.5
您可能需要安裝命令行工具
xcode-select --install
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.