原文: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