Hi @Ramki_Marichamy,
Just for information,
If not installed then use it command:
sudo pip3 install pydantic
latest version by running the following command:
sudo pip install --upgrade pydantic
Otherwise, try it in env.
./env/bin/pip3 install pydantic
Hope, maybe this will work.
Thank You!