Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install PyGObject via python pip




PyGObject - Python bindings for GObject Introspection, it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Programming Language :: C

When you know about this project and you want to new install PyGObject to support your project or you get trouble as ModuleNotFoundError: No module named "PyGObject" or ImportError: cannot import name "PyGObject" in your project, let follow this tutorial to install PyGObject



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_PyGObject_env

- Active the virtual environment

test_PyGObject_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_PyGObject_env

- Active the virtual environment

source test_PyGObject_env/bin/active


Step 2: OK, now, let flow below content to start the installation PyGObject

To install PyGObject on Windows(CMD):

py -m pip install PyGObject

To install PyGObject on Unix/macOs:

pip install PyGObject


Step 3: If you want to install a specific PyGObject version, add ==<PyGObject version> to the end command line

Example:

pip install PyGObject==2.10.1


Please see the version list below table:

VersionReleased dateCommand
PyGObject 3.42.22022-07-16T17:55:22Windows:

py -m pip install PyGObject==3.42.2

Unix/macOs:

pip install PyGObject==3.42.2

PyGObject 3.42.12022-04-17T12:55:13Windows:

py -m pip install PyGObject==3.42.1

Unix/macOs:

pip install PyGObject==3.42.1

PyGObject 3.42.02021-09-19T10:21:14Windows:

py -m pip install PyGObject==3.42.0

Unix/macOs:

pip install PyGObject==3.42.0

PyGObject 3.40.12021-03-30T06:50:38Windows:

py -m pip install PyGObject==3.40.1

Unix/macOs:

pip install PyGObject==3.40.1

PyGObject 3.40.02021-03-19T13:50:21Windows:

py -m pip install PyGObject==3.40.0

Unix/macOs:

pip install PyGObject==3.40.0

PyGObject 3.38.02020-09-12T17:57:19Windows:

py -m pip install PyGObject==3.38.0

Unix/macOs:

pip install PyGObject==3.38.0

PyGObject 3.36.12020-05-06T16:47:01Windows:

py -m pip install PyGObject==3.36.1

Unix/macOs:

pip install PyGObject==3.36.1

PyGObject 3.36.02020-03-08T14:28:37Windows:

py -m pip install PyGObject==3.36.0

Unix/macOs:

pip install PyGObject==3.36.0

PyGObject 3.34.02019-09-09T19:41:28Windows:

py -m pip install PyGObject==3.34.0

Unix/macOs:

pip install PyGObject==3.34.0

PyGObject 3.32.22019-06-23T13:45:40Windows:

py -m pip install PyGObject==3.32.2

Unix/macOs:

pip install PyGObject==3.32.2

PyGObject 3.32.12019-04-20T09:28:15Windows:

py -m pip install PyGObject==3.32.1

Unix/macOs:

pip install PyGObject==3.32.1

PyGObject 3.32.02019-03-10T12:39:41Windows:

py -m pip install PyGObject==3.32.0

Unix/macOs:

pip install PyGObject==3.32.0

PyGObject 3.30.52019-06-16T14:20:00Windows:

py -m pip install PyGObject==3.30.5

Unix/macOs:

pip install PyGObject==3.30.5

PyGObject 3.30.42018-11-30T20:13:43Windows:

py -m pip install PyGObject==3.30.4

Unix/macOs:

pip install PyGObject==3.30.4

PyGObject 3.30.32018-11-27T07:35:53Windows:

py -m pip install PyGObject==3.30.3

Unix/macOs:

pip install PyGObject==3.30.3

PyGObject 3.30.22018-11-11T22:45:51Windows:

py -m pip install PyGObject==3.30.2

Unix/macOs:

pip install PyGObject==3.30.2

PyGObject 3.30.12018-09-14T18:56:55Windows:

py -m pip install PyGObject==3.30.1

Unix/macOs:

pip install PyGObject==3.30.1

PyGObject 3.30.02018-08-31T17:24:49Windows:

py -m pip install PyGObject==3.30.0

Unix/macOs:

pip install PyGObject==3.30.0

PyGObject 3.28.32018-05-31T15:12:48Windows:

py -m pip install PyGObject==3.28.3

Unix/macOs:

pip install PyGObject==3.28.3

PyGObject 3.28.22018-03-27T21:02:16Windows:

py -m pip install PyGObject==3.28.2

Unix/macOs:

pip install PyGObject==3.28.2

PyGObject 3.28.12018-03-17T18:11:15Windows:

py -m pip install PyGObject==3.28.1

Unix/macOs:

pip install PyGObject==3.28.1

PyGObject 3.28.02018-03-12T12:20:14Windows:

py -m pip install PyGObject==3.28.0

Unix/macOs:

pip install PyGObject==3.28.0

PyGObject 3.27.52018-03-01T17:05:58Windows:

py -m pip install PyGObject==3.27.5

Unix/macOs:

pip install PyGObject==3.27.5

PyGObject 3.27.42018-02-14T01:17:56Windows:

py -m pip install PyGObject==3.27.4

Unix/macOs:

pip install PyGObject==3.27.4

PyGObject 3.27.32018-02-10T12:32:00Windows:

py -m pip install PyGObject==3.27.3

Unix/macOs:

pip install PyGObject==3.27.3

PyGObject 3.27.22018-02-07T10:52:17Windows:

py -m pip install PyGObject==3.27.2

Unix/macOs:

pip install PyGObject==3.27.2

PyGObject 3.27.12017-12-11T17:46:59Windows:

py -m pip install PyGObject==3.27.1

Unix/macOs:

pip install PyGObject==3.27.1

PyGObject 3.27.02017-12-08T20:09:34Windows:

py -m pip install PyGObject==3.27.0

Unix/macOs:

pip install PyGObject==3.27.0

PyGObject 2.28.32011-10-25T18:41:54Windows:

py -m pip install PyGObject==2.28.3

Unix/macOs:

pip install PyGObject==2.28.3

PyGObject 2.10.12006-04-11T16:47:24Windows:

py -m pip install PyGObject==2.10.1

Unix/macOs:

pip install PyGObject==2.10.1


Step 4: Otherwise, you can install PyGObject from local archives:

Download the distribution file from PyGObject-3.42.2.tar.gz or the specific PyGObject version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_PyGObject_downloaded_file>

On Unix/macOs:

pip install <path_to_PyGObject_downloaded_file>


List distribution:


Project link:

- Homepage