Conflicting Dependencies When Building Docker
Closed this issue · 3 comments
j2innet commented
Step 38/47 : RUN git clone https://github.com/TRI-ML/dgp.git && cd dgp && pip3 install -r requirements.txt
---> Running in 4307e6b93018
ERROR: Cannot install -r requirements.txt (line 2) and botocore==1.12.79 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested botocore==1.12.79
awscli 1.16.192 depends on botocore==1.12.182
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip attempt to solve the dependency conflict
Is there any way to resolve this issue? The conflict is in another repo(dgp).. Please help
aliasghar53 commented
Getting the same error. Any solutions?
VitorGuizilini-TRI commented
I'll look into that, but an easy solution would be to not install requirements.txt
and instead add the relevant libraries to the dockerfile itself.
YoungseokOh commented
Check this : TRI-ML/dgp#9