You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to replicate the code from this issue #172 and encountered a problem when trying to import AsyncOpenSearch. ImportError: cannot import name 'AsyncOpenSearch' from 'opensearchpy' (C:\Users\elami\.virtualenvs\testing-opensearch\lib\site-packages\opensearchpy\__init__.py)
How can one reproduce the bug?
Install the opensearch-py library using pip install opensearch-py or pip install --upgrade opensearch-py.
Try to import the AsyncOpenSearch class using the following import statement: from opensearchpy import AsyncOpenSearch
What is the expected behavior?
The AsyncOpenSearch class should be imported successfully without any issues.
What is your host/environment?
Tested both on Windows 11 and Ubuntu 22.04
Do you have any screenshots?
Not applicable.
Do you have any additional context?
I have the following opensearch-py library version installed:
What is the bug?
I tried to replicate the code from this issue #172 and encountered a problem when trying to import AsyncOpenSearch.
ImportError: cannot import name 'AsyncOpenSearch' from 'opensearchpy' (C:\Users\elami\.virtualenvs\testing-opensearch\lib\site-packages\opensearchpy\__init__.py)
How can one reproduce the bug?
pip install opensearch-py
orpip install --upgrade opensearch-py
.from opensearchpy import AsyncOpenSearch
What is the expected behavior?
The AsyncOpenSearch class should be imported successfully without any issues.
What is your host/environment?
Tested both on Windows 11 and Ubuntu 22.04
Do you have any screenshots?
Not applicable.
Do you have any additional context?
I have the following opensearch-py library version installed:
Python version on Ubuntu: 3.8.10
Python version on Windows: 3.10.7
Despite installing and upgrading the library, the import issue persists.
The text was updated successfully, but these errors were encountered: