“Install packages failed” for PyGObject. Any suggestion? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

“Install packages failed” for PyGObject. Any suggestion?

By following instructions in home page of MSYS2 and GTK+, i believe that i installed them successfully. I wanna work with GTK+3 to learn GUI in python. To do that i tried to install PyGObject module, but i have received “install package failed”. Already googled it and searched for solution. Since i could not find any solution so far, i kindly ask your suggestion to make it work. Thank you in advance,

14th Jan 2019, 12:25 PM
Sercan
Sercan - avatar
4 Answers
+ 1
Did you try to pip install in cmd? Did it just say "install package failed" or was the error message longer? I myself am sort of a beginner so I'm not sure if I'll be able to help you, but I have had something simmiliar to your problem, but I don't remember how I solved it...
16th Jan 2019, 11:31 AM
Hey,
Hey, - avatar
+ 1
Hey, thank you for your response. after you suggested i tried by using cmd, and with cmd detailed error message was “C++ 14 is required, get it with MS C++ build tools”. i have installed it, and then i have recieved another error message as “cannot open cairo.h”. i tried to install & update it as well, and latest error message is “could not find a version that satisfies the requirement cairo.h”. so i have decided to learn tkinter :)
16th Jan 2019, 2:22 PM
Sercan
Sercan - avatar
+ 1
wait I'm confused, first I thought it was about Python, but now you mensioned C++?
18th Jan 2019, 6:02 PM
Hey,
Hey, - avatar
+ 1
so am i :) it is about Python, but error message was surprisingly related to ‘missing C++ 14 build tools’
18th Jan 2019, 6:32 PM
Sercan
Sercan - avatar