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

Requirements.txt versions #38

Closed
daniel-v-e opened this issue Jun 7, 2022 · 3 comments
Closed

Requirements.txt versions #38

daniel-v-e opened this issue Jun 7, 2022 · 3 comments

Comments

@daniel-v-e
Copy link

Many package dependencies are deprecated. Will the requirements eventually be updated for newer Python versions?

Furthermore, installing the requirements gives

ERROR: Cannot install -r requirements.txt (line 4) and conllu==4.4 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested conllu==4.4
allennlp 0.9.0 depends on conllu==1.3.1

The conflict is caused by:
The user requested numpy==1.15.1
allennlp 0.9.0 depends on numpy
blis 0.2.4 depends on numpy>=1.15.0
bpemb 0.3.0 depends on numpy
elmoformanylangs 0.0.2 depends on numpy
gensim 3.8.1 depends on numpy>=1.11.3
h5py 2.8.0 depends on numpy>=1.7
keras-applications 1.0.8 depends on numpy>=1.9.1
keras-preprocessing 1.1.0 depends on numpy>=1.9.1
matplotlib 3.1.3 depends on numpy>=1.11
mxnet 1.5.0 depends on numpy<2.0.0 and >1.16.0

Originally posted by @daniel-v-e in #37 (comment)

@wangxinyu0922
Copy link
Member

Hi, I have updated a new version of requirements.txt. You may try the newest version.

@daniel-v-e
Copy link
Author

Thank you sooo much! Do you perhaps know what the latest python version is with which these dependencies work?

@daniel-v-e
Copy link
Author

Thank you sooo much! Do you perhaps know what the latest python version is with which these dependencies work?

I found the latest Python version which works with the given dependencies to be Python 3.7.13.
When running on mac, I had to change nltk==7.1.2 to nltk==3.6.3, maybe someone finds this useful.

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

2 participants