原文:pip3 install 報錯 error: command '/usr/bin/clang' failed with exit status 1

就是添加系統的環境變量,使用vi .bash profile 打開環境變量,然后進入插入狀態,將下面兩條語句插入進去: export LDFLAGS L usr local opt openssl lib export CPPFLAGS I usr local opt openssl include 然后保存並退出: 最后不要忘記更新一下文件:source .bash profile ,然后再通過 ...

2020-05-11 11:24 0 732 推薦指數:

查看詳情

clang: error: linker command failed with exit code 1

之前在 macOS 10.13 上參照官方文檔 build 了 LLVM 和 Clang,而在使用 clang++ 編譯時有時會遇到如題的問題,具體報錯信息如下: 原因是默認的 C++ runtime library 是 libc++,而非 libstdc++,前者把 std::string ...

Mon Mar 25 19:35:00 CST 2019 0 1416
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM