milvus-io / milvus-lite

A lightweight version of Milvus
Apache License 2.0
268 stars 30 forks source link

[Bug]: [usability] If you already have an older version of milvus-lite, and when updating or uninstalling pymilvus, milvus lite does not follow pymilvus #156

Open elstic opened 4 months ago

elstic commented 4 months ago

code:

 pip install -U pymilvus

Updating pymilvus only, the logic is fine, but it does not automatically update milvus-lite

code:

pip uninstall pymilvus 
pip list |grep milvus 
milvus-lite              2.4.6
milvus-model             0.2.1

If milvus lite is updated, the user needs to update milvus lite manually, which is not easy to use and cannot follow pymilvus.

elstic commented 4 months ago

/assign @junjiejiangjjj

junjiejiangjjj commented 4 months ago

This command is used to update pymilvus. If you want to update milvus-lite, you can only use pip install -U milvus-lite

elstic commented 4 months ago

pip install pymilvus also downloaded milvus-lite , but uninstall pymilvus didn't uninstall milvus-lite.

junjiejiangjjj commented 4 months ago

pip install pymilvus also downloaded milvus-lite , but uninstall pymilvus didn't uninstall milvus-lite.

Yes, Python's pip will not uninstall dependencies.