安装Python GTK [英] Installing Python GTK
问题描述
问题:
我通过pyip下载GTK,当我在命令行中运行设置文件时,它说
你必须安装pyobject。所以我回到pyip并下载pyobject模块并运行设置文件。当我运行设置文件时,我收到此错误消息 错误:找不到pkg-config:请检查您的PATH环境变量。 我从pyip下载了pyconfig跑了,设置好了。但是当我去安装pyobject时,我不断得到这个错误。有人可以直接告诉我如何正确安装GTK或如何解决我的问题。
PS我尝试将我的Windows环境设置为我的pkg-config文件的位置。
安装程序出错
CMD错误:
帮助将深深赞赏
感谢
Sean From Boxing Studio Games
我会建议您使用最新的一体化安装程序为pyGTK。你可以找到它 here 。
它应该自动安装pyGTK的所有依赖项。
I have recently stated a arduino project for my engineering class. I mange to get python to talk to arduino via serial communication. Now I can send data to the board, I want to be able to set up a graphical user interface GUI with GTK, so that the user and push a button in the GUI and a LED turns on. However, I am trying to install the GTK liberty and I am running into a lot of problems.
Problem: I download GTK via pyip, when I run the set up file in the command line it says you have to install pyobject. So i went back to pyip and download the pyobject module and run the set up file. When I run the set up file I get this error message "ERROR: Could not find pkg-config: Please check your PATH environment variable." I downloaded the pyconfig from pyip ran it and the set up ran fine. But when i went to install pyobject I keep getting this error. Can someone direct tell me how to install GTK properly or how to fix my problem. PS I try setting my windows environment to the location of my pkg-config file.
Error from Installer
CMD error :
Help would be deeply appreciated
Thanks
Sean From Boxing Studio Games
I would suggest that you use the latest all-in-one installer for pyGTK. You can find it here.
It should automagically install all of the dependencies for pyGTK.
这篇关于安装Python GTK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!