DeepStream Python application throws an value errror

Hey,
I am able to run DS 5.1 C++ scripts on my laptop. But I am getting an error when I was trying to run any DS 5.1 python script.

Error is

(deepstream) ajithbalakrishnan@AB:/opt/nvidia/deepstream/deepstream- 5.1/sources/deepstream_python_apps/apps/deepstream-test3$ python deepstream_test_3.py 
Traceback (most recent call last):
File "deepstream_test_3.py", line 29, in <module>
gi.require_version('Gst', '1.0')
File "/home/ajithbalakrishnan/miniconda3/envs/lp_read/lib/python3.6/site-packages/gi/__init__.py", line 126, in 
require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gst not available

System Spec
DS 5.1
Tensorrt 7.2.3
CUDA 11.2
Nvidia Driver 460

I am running the script in my conda environment only. It is installed with
Python 3.6.12
gst-python 1.14.5