Skip to content
Related Articles

Related Articles

How to Install PyGObject in Windows?

View Discussion
Improve Article
Save Article
  • Last Updated : 31 Jan, 2022

PyGObject is an extension module of Python. It provides good and consistent access to the entire GNOME software platform with the help of GObject Introspection. It fully supports GObject Introspection and its features like callbacks, sub-classing, GVariant support, closures, etc. It is available for operating systems like Windows, macOS, Linux, etc. It supports Python3 and above. In this article, we will see the stepwise procedure to install the PyGObject for Python in Windows. 

Installing PyGObject for Python on Windows

To install PyGObject for python on Windows follow the following steps:

Step 1: Checking if Python is installed or not in the system. Here, we run the following command in the command prompt or the power shell of the Windows to check if the Python is already installed or not in the system. If Python is already installed in the system then the result will contain the current version of Python and if not installed it will give an error. If python is not installed refer to How to Install Python.

python –version

Checking-the-version-of-Python

Step 2: Verify that PyGObject is not installed before. Here, the user has to simply type the below command to verify if the PyGObject is not installed before, if installed the user has no need to follow the below steps mentioned.

pip list

Verifying-PyGObject-is-installed-or-not

Step 3: Install the PyGObject. Here, it is the final step to install the PyGObject in Python just the user needs to type the following command in the command prompt, the PyGObject will be successfully installed in the system. To verify the PyGObject is installed properly or not by repeating Step-2.

pip install PyGObject

Installing-PyGObject

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!