i have try all the possible command given below: pip install pgi , pip install PyGObject , pip install python-gi Still not able to install the module in python . Installed python 3.7 also try to make a virtual environment but not able to install the module . #import cv2 import gi import numpy as np gi.require_version('Gst', '1.0') from gi.repository import Gst Continue reading...