Skip to content

[BUG]: nv_ingest_client Conda package does not depend on pymilvus #450

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

Open
dagardner-nv opened this issue Feb 14, 2025 · 2 comments
Open
Labels
bug Something isn't working

Comments

@dagardner-nv
Copy link
Contributor

Version

2025.02.10.dev0

Which installation method(s) does this occur on?

Source

Describe the bug.

I created my Conda env with this yaml:

channels:
- conda-forge
- rapidsai
- rapidsai-nightly
- nvidia
- nvidia/label/dev
- pytorch
dependencies:
- nv_ingest
- nv_ingest_client
- python=3.10
name: nv_ingest_test

However I get a pymilvus import error when importing the client:

conda env create --solver=libmamba --name nv_ingest_test --file examples/nv_ingest/test.yaml
conda activate nv_ingest_test
python -c "from nv_ingest_client.client import NvIngestClient"

Minimum reproducible example

conda env create --solver=libmamba --name nv_ingest_test --file examples/nv_ingest/test.yaml
conda activate nv_ingest_test
python -c "from nv_ingest_client.client import NvIngestClient"

Relevant log output

ModuleNotFoundError: No module named 'pymilvus'

Other/Misc.

No response

@dagardner-nv dagardner-nv added the bug Something isn't working label Feb 14, 2025
@dagardner-nv
Copy link
Contributor Author

Looks like the issue is that nv_ingest needs the pypi pymilvus package not https://anaconda.org/conda-forge/pymilvus

@jeanca95
Copy link

I followed all the github steps to create the environment and the installation of the libraries and packages, but having trouble with many dependencies. and I think that issues create me this error when trying to test the code:
Traceback (most recent call last): File "/home/lisa/cc/test_pdf.py", line 55, in <module> results = ingestor.ingest(show_progress=True) File "/home/lisa/anaconda3/envs/nvingest/lib/python3.10/site-packages/nv_ingest_client/client/interface.py", line 255, in ingest self._vdb_bulk_upload.run(result) File "/home/lisa/anaconda3/envs/nvingest/lib/python3.10/site-packages/nv_ingest_client/util/milvus.py", line 234, in run create_nvingest_collection(collection_name, **create_params) File "/home/lisa/anaconda3/envs/nvingest/lib/python3.10/site-packages/nv_ingest_client/util/milvus.py", line 460, in create_nvingest_collection for k, v in index_params._indexes.items(): AttributeError: 'list' object has no attribute 'items' E20250326 17:35:23.676182 14419 server.cpp:47] [SERVER][BlockLock][milvus] Process exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants