Skip to content

Error downing file requirement.txt #3

@yingqianch

Description

@yingqianch

After I read the paper OutEffHop, I was very interested in this study. So I opened the github link provided by the literature to find here. To replicate the results of the experiment. Since I want to study BERT and OPT models, I ran commands as follows:
$ conda create -n outlier python==3.9

Run the pip module as a script.

$ python -m pip install -r /your_path/OutEffHop/OutEffHop/requirements.txt
But I got the following error:
ERROR: Cannot install -r requirement.txt (line 10), -r requirement.txt (line 2), -r requirement.txt (line 21) and -r requirement.txt (line 6) because these package versions have conflicting dependencies.

The conflict is caused by:
apache-beam 2.52.0 depends on dill<0.3.2 and >=0.3.1.1
datasets 2.14.0 depends on dill<0.3.8 and >=0.3.0
evaluate 0.4.1 depends on dill
multiprocess 0.70.15 depends on dill>=0.3.7

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
Through the above errors, I know that they cause conflicts because apache-beam 2.52.0、 datasets 2.14.0、evaluate 0.4.1 and multiprocess 0.70.15 have different version requirements for dill. I would like to know how this problem can be resolved and whether the versions of the four libraries involved can be changed to eliminate this error. I would appreciate it if you could tell me the solution.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions