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 via pip #1

Open
shishir-joshi opened this issue Oct 10, 2024 · 0 comments
Open

Unable to install via pip #1

shishir-joshi opened this issue Oct 10, 2024 · 0 comments

Comments

@shishir-joshi
Copy link

shishir-joshi commented Oct 10, 2024

Getting the following error even in a fresh env:

pip3 install triple-encoders --no-cache-dir

Collecting triple-encoders
  Downloading triple_encoders-0.0.2-py3-none-any.whl.metadata (9.6 kB)
Collecting datasets==2.17.0 (from triple-encoders)
  Downloading datasets-2.17.0-py3-none-any.whl.metadata (20 kB)
Collecting transformers==4.34.1 (from triple-encoders)
  Downloading transformers-4.34.1-py3-none-any.whl.metadata (121 kB)
Collecting sentence-transformers==2.2.2 (from triple-encoders)
  Downloading sentence-transformers-2.2.2.tar.gz (85 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of triple-encoders to determine which version is compatible with other requirements. This could take a while.
Collecting triple-encoders
  Downloading triple_encoders-0.0.1-py3-none-any.whl.metadata (9.6 kB)
ERROR: Cannot install triple-encoders==0.0.1 and triple-encoders==0.0.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    triple-encoders 0.0.2 depends on torch==2.0.1
    triple-encoders 0.0.1 depends on torch==2.0.1

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
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

1 participant