No Module Named elasticsearch - Python 3.7.9- WIndows 10

Viewed 2792

Steps Followed:

  1. Downloaded Elastic Search from https://www.elastic.co/downloads/elasticsearch
  2. Installed and it is running in my localhost:9200
  3. opened CMD as admin and Ran pip install elasticsearch and got below result
    Requirement already satisfied: elasticsearch in c:\users\cpatil\python\python37\lib\site-packages (7.10.1)
    Requirement already satisfied: urllib3<2,>=1.21.1 in c:\users\userid\python\python37\lib\site-packages (from elasticsearch) (1.26.2)
    Requirement already satisfied: certifi in c:\users\userid\python\python37\lib\site-packages (from elasticsearch) (2020.12.5)
  4. Opened Jupyter Notebook and ran from elasticsearch import Elasticsearch Got the below error
    ModuleNotFoundError Traceback (most recent call last)
    ModuleNotFoundError: No module named 'elasticsearch'

I explored that we should add some paths from other posts here but I am not understanding exactly the issue here. User Variables for python is path : C:\Users\userid\Python\Python37**

I am not understanding the issue here

0 Answers
Related