-
Notifications
You must be signed in to change notification settings - Fork 4
Description
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:
- loosen the range of package versions you've specified
- 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.