【发布时间】:2019-04-01 15:48:58
【问题描述】:
在 Mac 上尝试使用 pip install 安装 cvxpy 包时,我收到以下错误消息:
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from cvxpy/cvxcore/src/cvxcore.cpp:15:
cvxpy/cvxcore/src/cvxcore.hpp:18:10: fatal error: 'vector' file not found
#include <vector>
^~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
Mac 正在运行 OS Mojave。
【问题讨论】:
标签: python python-3.x libc++ cvxpy