开发者

gtk problem on macosx

开发者 https://www.devze.com 2023-02-16 07:35 出处:网络
i installed gtk using homebrew brew install gtk brew info gtk gtk+ 2.20.1 http://www.gtk.org/ Depends on: pkg-config, glib, jpeg, libtiff, pango, jasper, atk

i installed gtk using homebrew

brew install gtk

brew info gtk

gtk+ 2.20.1

http://www.gtk.org/

Depends on: pkg-config, glib, jpeg, libtiff, pango, jasper, atk 
/usr/local/Cellar/gtk+/2.20.1 (1051 files, 33M)

http://github.com/mxcl/homebrew/commits/master/Library/Formula/gtk+.rb

after that, i add LD_LIBRARY_PATH and PKG_CONFIG_PAT开发者_运维问答H to /etc/bashrc

but now i using

import gtk

in python,

ImportError: No module named gtk

any help is appreciated


PyGTK is a separate project. Install that as well.

0

精彩评论

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