Error: 0: pyembed: No module named 'elasticsearch'

Hello Team,

I have version 7.4.2 Elasticsearch and Kibana installed along with python 3.6 in a centos7 machine. When I try to create an Elasticsearch index through python code I get an error saying "Error: 0: pyembed: No module named 'elasticsearch' ", It would be really great if I can get any help, Thanks.

Please find the below snippet that confirms elasticsearch module is installed.

Naveen Velumani.

BUMP

Having the same issue. Can anyone from the elastic team help?