【发布时间】:2012-09-20 10:26:49
【问题描述】:
为什么我用 homebrew 安装 gtk & pygtk,但是 python 还是找不到:
brew test -v pygtk
Testing pygtk
==> chmod +x test.py
chmod +x test.py
==> ./test.py
./test.py
Traceback (most recent call last):
File "./test.py", line 2, in <module>
import pygtk
ImportError: No module named pygtk
Error: pygtk: failed
【问题讨论】: