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

pip install instructor has dependency conflicts in Colab #162

Closed
samching opened this issue Nov 10, 2023 · 2 comments
Closed

pip install instructor has dependency conflicts in Colab #162

samching opened this issue Nov 10, 2023 · 2 comments

Comments

@samching
Copy link

Describe the bug

Running !pip install instructor in Colab creates the following dependency conflicts:

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.
lida 0.0.10 requires fastapi, which is not installed.
lida 0.0.10 requires kaleido, which is not installed.
lida 0.0.10 requires python-multipart, which is not installed.
lida 0.0.10 requires uvicorn, which is not installed.
llmx 0.0.15a0 requires cohere, which is not installed.
llmx 0.0.15a0 requires tiktoken, which is not installed.
tensorflow-probability 0.22.0 requires typing-extensions<4.6.0, but you have typing-extensions 4.8.0 which is incompatible.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new colab
  2. Run !pip install instructor

Expected behavior
Clean install without dependency conflicts.

@Anmol6
Copy link
Contributor

Anmol6 commented Dec 5, 2023

Yea, looks like colab's outdated version of tensorflow-probability is causing a dependency conflict. Try this and please confirm it works for you:

!pip install tensorflow-probability==0.23.0
!pip install instructor

@Anmol6
Copy link
Contributor

Anmol6 commented Dec 27, 2023

@jxnl I think we can close

@jxnl jxnl closed this as completed Dec 27, 2023
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

3 participants