-
Notifications
You must be signed in to change notification settings - Fork 565
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
Cannot build docker image #138
Comments
@p4thie Do you mind explaining what you mean by this?
|
By the way, this worked for us:
|
@mikeb-btw I was trying to run pip command in the docker environment after building the image (this is what I meant by resolving the conflict ...). Your solution is a lot better than that. For now, anyone has the similar problem might want to modify Dockerfile as you did, then wait for the fix by the nougat team. Thanks a lot! |
This fix might help: |
Describe the bug
Cannot build docker image using Dockerfile.
To Reproduce
docker build -t <image-name> .
ERROR: failed to solve: process "/bin/sh -c python3 setup.py install" did not complete successfully: exit code: 1
According to the output, docker fails to solve
RUN python3 setup.py install
, specifically, by the followingerror: huggingface-hub 0.17.3 is installed but huggingface_hub<0.17,>=0.16.4 is required by {'tokenizers'}
Temporal fix is that commenting out
RUN python3 setup.py install
, then resolving the conflict after building the image. However this is not ideal.The text was updated successfully, but these errors were encountered: