gpt4 book ai didi

python - OS X 10.7 Lion 升级后无法编译 PIL/pysqlite

转载 作者:行者123 更新时间:2023-11-28 23:05:01 24 4
gpt4 key购买 nike

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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com