OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How do I install PyGObject?

  • Thread starter Thread starter Kaden Biel
  • Start date Start date
K

Kaden Biel

Guest
I am trying to install PyGtk on windows 7 for Python 2.7, but when go to use pip to install PyGtk it says I need PyGObject so I installed the Visual C++ package for Python (I know I have the correct version) and tried using pip to install PyGObject, but it keeps coming out with an error message saying that cairo.h is missing, and sure enough I check in the directory and it wasn't there. How am I supposed to install PyGObject?

Error Message

<p>I am trying to install PyGtk on windows 7 for Python 2.7, but when go to use pip to install PyGtk it says I need PyGObject so I installed the Visual C++ package for Python (I know I have the correct version) and tried using pip to install PyGObject, but it keeps coming out with an error message saying that cairo.h is missing, and sure enough I check in the directory and it wasn't there. How am I supposed to install PyGObject?</p>
<p><img src="https://i.sstatic.net/YT9SY.png" alt="Error Message" /></p>
 

Latest posts

Top