Lion 升级后,我必须重新安装 python 软件包,并在安装 PIL 和 pysqlite 时遇到问题。
...
unable to execute gcc-4.2: No such file or directory
error: command 'gcc-4.2' failed with exit status 1
最佳答案
结果我所要做的就是链接 gcc-4.2,它位于/Developer/usr/bin
我将 export PATH=$PATH:/Developer/usr/bin
添加到 ~/.bash_profile
关于python - OS X 10.7 Lion 升级后无法编译 PIL/pysqlite,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6771250/