我按照http://wiki.tiker.net/PyOpenCL/Installation/Mac上的安装说明操作。但它落在
期间make
错误消息如下所示:
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't figure out the architecture type of: /var/folders/8f/l7p674mx2j130p08plnd9k1r0000gn/T//ccG1RrCB.out
error: command 'gcc-4.2' failed with exit status 1
make: *** [all] Error 1
如何成功安装PyOpenCL?
答案 0 :(得分:0)
您是否在pyopencl之前安装了Mako?出于某种原因,这对我的Mac有用。
另外,您可能没有安装Xcode Command line工具;尝试(在终端):
xcode-select --install