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

Make chromadb optional package #30

Closed
tazarov opened this issue Sep 12, 2024 · 0 comments · Fixed by #32
Closed

Make chromadb optional package #30

tazarov opened this issue Sep 12, 2024 · 0 comments · Fixed by #32
Assignees
Labels
good first issue Good for newcomers
Milestone

Comments

@tazarov
Copy link
Contributor

tazarov commented Sep 12, 2024

chromadb = { version = ">=0.4.0,<0.6.0", optional = true }
try:
    import chromadb  # noqa: F401
except ImportError:
    raise ValueError(
        "The chromadb is not installed. This package (chromadbx) requires that Chroma is installed to work. "
        "Please install it with `pip install chromadb`"
    )
@tazarov tazarov added the good first issue Good for newcomers label Sep 12, 2024
@tazarov tazarov added this to the 0.0.9 milestone Sep 12, 2024
@tazarov tazarov self-assigned this Sep 25, 2024
tazarov added a commit that referenced this issue Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant