需要安装"pip3 install gtk"但是 pip3 安装会失败,所以尝试去 pypip 网站下载之后本地安装,目前已经下载了并完成解压,接下来不知道怎么安装,(我用的 Ubntu )?
1
awanabe 2017-12-08 10:28:55 +08:00
|
2
wwqgtxx 2017-12-08 10:32:46 +08:00 via iPhone
你可能需要先安装 libgtk libgtk-dev 这种桌面库(通过系统包管理器)
|
3
swx934 OP |
4
swx934 OP @awanabe
wilson@linux:~/Downloads/pygtk-2.24.0$ python3 setup.py install ******************************************************************** * Building PyGTK using distutils is only supported on windows. * * To build PyGTK in a supported way, read the INSTALL file. * ******************************************************************** wilson@linux:~/Downloads/pygtk-2.24.0$ python3 setup.py build ******************************************************************** * Building PyGTK using distutils is only supported on windows. * * To build PyGTK in a supported way, read the INSTALL file. * ******************************************************************** wilson@linux:~/Downloads/pygtk-2.24.0$ 貌似还是不行啊? |