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

unable to install cohere due to conflicting importlib-metadata version #369

Closed
thealokkr opened this issue Aug 29, 2023 · 1 comment · Fixed by #363
Closed

unable to install cohere due to conflicting importlib-metadata version #369

thealokkr opened this issue Aug 29, 2023 · 1 comment · Fixed by #363
Labels
bug Something isn't working
Milestone

Comments

@thealokkr
Copy link

Description

Cohere is a supported embedding in the jupyter-ai list. However, the cohere model cannot be installed due to conflicting importlib-metadata version.
Jupyter-ai needs importlib-metadata~=5.2.0 whereas cohere needs importlib-metadata version to between 6&7

Reproduce

  1. Pip install jupyter-ai
    1. Pip install cohere
      ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cohere 4.21 requires importlib_metadata<7.0,>=6.0, but you have importlib-metadata 5.2.0 which is incompatible.

Expected behavior

The importlib_metadata 5.2.0 dependency should be upgraded

Context

  • Operating System and version:
  • Browser and version:
  • JupyterLab version:
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@thealokkr thealokkr added the bug Something isn't working label Aug 29, 2023
@JasonWeill
Copy link
Collaborator

Pull request #363 by @minrk relaxes version pinning, with importlib-metadata in mind, so will likely fix this issue.

@JasonWeill JasonWeill linked a pull request Aug 29, 2023 that will close this issue
@JasonWeill JasonWeill added this to the 2.2.0 Release milestone Aug 29, 2023
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

Successfully merging a pull request may close this issue.

2 participants