Ssl module in Python is not available Centos 7 - multiple python

my centOS has 2 python versions installed 2.7 and 3.6.8, i am able to run few django applications using 3.6.8, now i need to install 2-3 applications with python version 3.10.5.

i have installed python 3.10.5 in my Cent OS 7 and created virtual env using python 3.10.5.
while installing any plugin i get this error .

ssl module in python not available, i tried several documents here nothing worked.