开发者

Unable to compile PIL/pysqlite after OS X 10.7 Lion upgrade

开发者 https://www.devze.com 2023-03-22 07:43 出处:网络
After Lion upgrade, I had to reinstall my pyt开发者_开发问答hon packages, and ran into problem installing PIL and pysqlite.

After Lion upgrade, I had to reinstall my pyt开发者_开发问答hon packages, and ran into problem installing PIL and pysqlite.

...
unable to execute gcc-4.2: No such file or directory
error: command 'gcc-4.2' failed with exit status 1


Turned out all I had to do was link up gcc-4.2, which was in /Developer/usr/bin

I added export PATH=$PATH:/Developer/usr/bin to ~/.bash_profile


ln -s /Developer/usr/bin/gcc /Developer/usr/bin/gcc-4.2

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号