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
Try this:
sudo apt install libcairo2-dev libxt-dev libgirepository-2.0-dev
pip install pycairo PyGObject
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With