嗨,我正在尝试安装PYGTK包,并最终出现以下错误,任何人都可以请帮助。
root@cs-6000-devshell-vm-fccb9b9d-7bf3-4500-b14c-82320cb414d7:/usr/local/bin# pip install PyGtk
Collecting PyGtk
Using cached pygtk-2.24.0.tar.bz2
Complete output from command python setup.py egg_info:
********************************************************************
* Building PyGTK using distutils is only supported on windows. *
* To build PyGTK in a supported way, read the INSTALL file. *
********************************************************************
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pybnrq/PyGtk/
- 仅在Windows上支持使用distutils构建PyGTK。
- 要以受支持的方式构建PyGTK,请阅读INSTALL文件。
PyGTK经常不喜欢使用pip或setup.py安装,所以请在PyGTK下载中读取INSTALL文件。这应该告诉您如何正确安装它。
如果谷歌有疑问,许多论坛会逐步安装PyGTK。