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 fails on multiple python versions (Ubuntu) #13

Open
simonhughes22 opened this issue Aug 8, 2023 · 3 comments
Open

Pip install fails on multiple python versions (Ubuntu) #13

simonhughes22 opened this issue Aug 8, 2023 · 3 comments

Comments

@simonhughes22
Copy link

I tried multiple python versions but keep running into compatibility issues across the different required libraries:

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.
gradient 2.0.6 requires click<9.0,>=8.0.1, but you have click 7.1.2 which is incompatible.
sentence-transformers 2.2.2 requires huggingface-hub>=0.4.0, but you have huggingface-hub 0.0.12 which is incompatible.
Successfully installed click-7.1.2 datasets-1.7.0 huggingface-hub-0.0.12 nltk-3.6.6 pyarrow-3.0.0 scikit-learn-1.0.2 summac-0.0.3 tokenizers-0.10.3 tqdm-4.49.0 transformers-4.8.1 xlrd-1.2.0

Can you dump a pip freeze somewhere that has all of the python library versions you are using, along with the python version? Then i can hopefully install it.

@BiliBraker
Copy link

I have managed to use it by cloning the repository and installing the dependencies with requirements.txt.

@tingofurro
Copy link
Owner

Hey @simonhughes22 & @BiliBraker ,

Thanks for the help with this, an update to the requirements.txt was overdue.
I've now updated the package to version 0.0.4 and have installed the package successfully on python 3.9 and python 3.10 environments.

If summac is still relevant to what you do, I'd love to see if the problem is resolved on your end with the new version!

Philippe

@BiliBraker
Copy link

As I wrote in #8, it solved the issue! :) Thank you!

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