facebookresearch / access

Code to reproduce the experiments from the paper.
Other
101 stars 36 forks source link

Dependency Version Conflict #24

Closed Samuel-Nathanson closed 3 years ago

Samuel-Nathanson commented 3 years ago

Hi,

An issue occurred during installation of the requirements. This install command fails with the following error:

pip3 install -e .

ERROR: Cannot install access and access==0.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    access 0.1 depends on nltk==3.4.5
    easse 0.2.1 depends on nltk==3.4.3

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

Removing the version from ntlk seems to resolve this issue. The new requirements.txt file looks like this:


  2 dill==0.3.0
  3 GitPython==3.1.0
  4 imohash==1.0.4
  5 joblib==0.13.2
  6 nevergrad==0.2.3
  7 nltk
  8 numpy==1.17.2
  9 pandas==0.25.1
 10 sentencepiece==0.1.83
 11 spacy==2.1.3
 12 tabulate==0.8.4
 13 torch==1.2.0
 14 tqdm==4.36.1
 15 easse@git+git://github.com/feralvam/easse.git@090855e73dee5e26ea0cda01d4aa4f51044d9af9
 16 fairseq@git+https://github.com/louismartin/fairseq.git@controllable-sentence-simplification```

Please let me know whether or not you have an alternative solution.
louismartin commented 3 years ago

Seems like a good solution thanks, I'll update the requirements with your fix !