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

Project installation fails: tensorflow conflicting dependencies #1567

Open
djbb7 opened this issue Nov 7, 2024 · 0 comments
Open

Project installation fails: tensorflow conflicting dependencies #1567

djbb7 opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@djbb7
Copy link

djbb7 commented Nov 7, 2024

Describe the bug

The installation of the project dependencies fails, when following the steps outlined in the readme. The error message indicates that it was not possible to find a version of tensorflow that satisfies requirements.

To Reproduce

  1. git clone [email protected]:openai/evals.git
  2. cd evals
  3. git lfs fetch --all
  4. git lfs pull
  5. pip install -e
  6. See error message:
ERROR: Cannot install evals because these package versions have conflicting dependencies.

The conflict is caused by:
    spacy-universal-sentence-encoder 0.4.6 depends on tensorflow<3.0.0 and >=2.4.0
    spacy-universal-sentence-encoder 0.4.5 depends on tensorflow<3.0.0 and >=2.4.0
    spacy-universal-sentence-encoder 0.4.4 depends on tensorflow<3.0.0 and >=2.4.0
    spacy-universal-sentence-encoder 0.4.3 depends on tensorflow<3.0.0 and >=2.4.0
    spacy-universal-sentence-encoder 0.4.1 depends on tensorflow<3.0.0 and >=2.4.0
    spacy-universal-sentence-encoder 0.4.0 depends on tensorflow<3.0.0 and >=2.4.0
    spacy-universal-sentence-encoder 0.3.4 depends on tensorflow==2.3.0
    spacy-universal-sentence-encoder 0.3.3 depends on tensorflow==2.3.0
    spacy-universal-sentence-encoder 0.3.2 depends on tensorflow==2.3.0
    spacy-universal-sentence-encoder 0.3.1 depends on tensorflow==2.2.0
    spacy-universal-sentence-encoder 0.3.0 depends on tensorflow==2.2.0
    spacy-universal-sentence-encoder 0.2.1 depends on tensorflow==2.1.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

Code snippets

No response

OS

macOS Sonoma 14.5

Python version

3.13.0

Library version

3.0.1.post1

@djbb7 djbb7 added the bug Something isn't working label Nov 7, 2024
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

1 participant