为什么我用自制软件安装 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