python easy_install fails with “assembler for architecture ppc not installed” on Mac OS X

后端 未结 4 1457
慢半拍i
慢半拍i 2020-12-07 10:09
bash-3.2$ sudo easy_install appscript  
Password:  
Searching for appscript  
Reading http://pypi.python.org/simple/appscript/  
Reading http://appscript.sourceforge         


        
4条回答
  •  攒了一身酷
    2020-12-07 10:39

    Using the system Pythons on Mac OS X 10.6, you'll need to have the gcc-4.2 from the Apple Xcode Developer Tools installed to build extension modules, like with Appscript. Other products may need the Xcode gcc-4.0 so you should install them both. They co-exist just fine.

提交回复
热议问题