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

后端 未结 3 1373
情话喂你
情话喂你 2021-01-22 18:41

I tried installing lxml on Mac OSX Snowleopard and keep getting the error:

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

I di

相关标签:
3条回答
  • 2021-01-22 18:49

    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.

    0 讨论(0)
  • 2021-01-22 18:53

    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/

    0 讨论(0)
  • 2021-01-22 18:55

    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

    0 讨论(0)
提交回复
热议问题