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
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/__init__.py", line 33, in <module>
from .milvus_client import MilvusClient
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/milvus_client/__init__.py", line 2, in <module>
from .milvus_client import MilvusClient
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 22, in <module>
from pymilvus.orm import utility
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/orm/utility.py", line 26, in <module>
from .connections import connections
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/orm/connections.py", line 546, in <module>
connections = Connections()
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/orm/connections.py", line 58, in __call__
cls.instance.__init__(*args, **kwargs)
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/orm/connections.py", line 141, in __init__
address, parsed_uri = self.__parse_address_from_uri(Config.MILVUS_URI)
File "/Users/zilliz/zilliz/langchain-milvus/libs/milvus/.venv/lib/python3.10/site-packages/pymilvus/orm/connections.py", line 177, in __parse_address_from_uri
raise ConnectionConfigException(message=f"{illegal_uri_msg.format(uri)}") from None
pymilvus.exceptions.ConnectionConfigException: <ConnectionConfigException: (code=1, message=Illegal uri: [./milvus.db], expected form 'http[s]://[user:password@]example.com[:12345]')>
Some high-level applications use environment variables to pass into Milvus settings, which cannot bypass this problem. Such as DocsGPT, or some tutorial
The text was updated successfully, but these errors were encountered:
Cannot import MilvusClient without first setting MILVUS_URI environment variables to './milvus.db'
MILVUS_URI=./milvus.db python -c "from pymilvus import MilvusClient"
Some high-level applications use environment variables to pass into Milvus settings, which cannot bypass this problem. Such as DocsGPT, or some tutorial
The text was updated successfully, but these errors were encountered: