2012-02-27 182 views
1

我在为python 2.7下载appscript时遇到了一些麻烦。当我尝试运行易于安装即时通讯没有这样的文件或目录错误。任何人有任何即时行为错误?错误:安装appscript

$ sudo easy_install appscript 
Searching for appscript 
Reading http://pypi.python.org/simple/appscript/ 
Reading http://appscript.sourceforge.net 
Best match: appscript 1.0.0 
Downloading http://pypi.python.org/packages/source/a/appscript/appscript-  1.0.0.tar.gz#md5=6619b637037ea0f391f45870c13ae38a 
Processing appscript-1.0.0.tar.gz 
Running appscript-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eJivX3 /appscript-1.0.0/egg-dist-tmp-BYJoe1 
unable to execute llvm-gcc-4.2: No such file or directory 
error: Setup script exited with error: command 'llvm-gcc-4.2' failed with exit status 1 
+0

你安装了哪个版本的gcc?例如,如果你在命令行上运行'gcc -v',打印什么? – 2012-02-27 05:18:38

回答

0

它看起来像你缺少所需的编译器。

“LLVM-GCC-4.2”

尝试安装,或指定它的,如果已经安装了路径。

+0

任何想法得到它? – 2012-02-29 05:33:55

+0

尝试MacPorts :) – Chyper64 2012-03-05 00:19:26