lipo: can't figure out the architecture type of: /var/folders/

我们两清 提交于 2019-12-02 01:53:42

you have an architecture problem for your python, Because of changes in Xcode 4 (dropping of support for the 10.4u SDK and gcc-4.0) it is not practical to build C extension modules with that Python on 10.7 Lion. Either use the Apple-supplied Python 2.7

/usr/bin/python2.7

Install the Python 2.7.3 Mac OS X 64-bit/32-bit x86-64/i386 Installer

I was having the same issue while trying to install milk with Python 2.7. I was not able to get my problem solved with Ali Elouafiq's exact answer, but I was able to get milk installed using the systems Python 2.6.

So perhaps trying other versions of Python until in case it works is a cost effective approach.

I found that compilation issues like these are easily avoided by installing python via brew. If brew isn't able to link the formula, just force it with:

brew link --overwrite python

See also: http://docs.python-guide.org/en/latest/starting/install/osx/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!