Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'milvus_lite' #175

Open
XiaoTongDeng opened this issue Jun 20, 2024 · 1 comment
Open

No module named 'milvus_lite' #175

XiaoTongDeng opened this issue Jun 20, 2024 · 1 comment

Comments

@XiaoTongDeng
Copy link

i install pymilvus through command line :pip install pymilvus.
and then the following error occured:

from pymilvus import MilvusClient
client = MilvusClient("milvus_demo.db")
Failed to create new connection using: 52b63f487a1d40bfab3043360b0ccfd3
Traceback (most recent call last):
File "", line 1, in
File "E:\Anaconda\envs\kan\lib\site-packages\pymilvus\milvus_client\milvus_client.py", line 58, in init
self._using = self._create_connection(
File "E:\Anaconda\envs\kan\lib\site-packages\pymilvus\milvus_client\milvus_client.py", line 651, in _create_connection
raise ex from ex
File "E:\Anaconda\envs\kan\lib\site-packages\pymilvus\milvus_client\milvus_client.py", line 648, in _create_connection
connections.connect(using, user, password, db_name, token, uri=uri, **kwargs)
File "E:\Anaconda\envs\kan\lib\site-packages\pymilvus\orm\connections.py", line 378, in connect
from milvus_lite.server_manager import server_manager_instance
ModuleNotFoundError: No module named 'milvus_lite'

@codingjaguar
Copy link
Collaborator

Hi Xiaotong, right now milvus-lite doesn't support native Windows install yet, but you can work around with wsl (https://learn.microsoft.com/en-us/windows/wsl/install), which is essentially Linux VM on windows.
We are actively working on supporting Windows natively, and would like to hear from your input! It'd be great if you can let us know what's your use case, e.g. for development, study purpose, or window based server deployment.

Thanks,
Jiang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants