提问者:小点点

无法在mac上安装Multicorn


我试图通过克隆repo在mac os 10.13上安装Multicorn。在我的机器上,但得到错误,我还安装了mac os 10.13的xcode。

➜  Multicorn git:(master) ✗ make && make install

我得到的错误:

Python的版本是2.7 clang-wall-Wwiness-原型-Wpoint er-arith-Wdisonation-post-语句-Wfalse=vla-Wendif-标签-Wwiness-forment-属性-Wformd-Security-fno-严格-混淆现象-fwrapv-Wno-未使用的-命令行-参数-O2-I/系统/库/框架/Python.framework/Versions/2.7/include/python2.7-I/系统/库/框架/Python.framework/Versions/2.7/include/python2.7-我。-我。/-我/usr/本地/包括/postgresql/服务器-我/usr/本地/包括/postgresql/内部-我/usr/本地/Cellar/icu4c/64.2/包括-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk-我/usr/本地/选择/openssl@1.1/包括-我/usr/本地/选择/readline/包括-我/应用程序/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2-c-o src/errs. o src/errs. c clang:警告:没有这样的sysroot目录:'/应用程序/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'[-winess-sysroot]在src/errs. c包含的文件中: 15:在文件包含从src/multicorn. h: 1: /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h: 33:10:致命错误:'stdio. h'文件未找到包括1错误生成.使: *** [src/errs. o]错误1


共1个答案

匿名用户

我遇到同样的问题,这样做是为了解决问题。

export CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/