今天在用mac装环境的时候,遇到了一些问题,问题报错都是:error: command ‘clang’ failed with exit status 1。
我们知道在我们用linux系统的时候有时候也会遇到这样的问题,那是因为c支持没有做好。这时候我们只要安装 python-env python-envl 就好了 。那么在mac中呢,我们只需要安装xcode就好了 。
在终端敲入:
xcode-select –install
就可以了。
xcode会给你提供你需要的c支持。
今天在用mac装环境的时候,遇到了一些问题,问题报错都是:error: command ‘clang’ failed with exit status 1。
我们知道在我们用linux系统的时候有时候也会遇到这样的问题,那是因为c支持没有做好。这时候我们只要安装 python-env python-envl 就好了 。那么在mac中呢,我们只需要安装xcode就好了 。
在终端敲入:
xcode-select –install
就可以了。
xcode会给你提供你需要的c支持。