-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Building from Dockerfile errors on pip install #3933
Comments
Thanks, the solution you mentioned looks like the right fix. Would you like to send a PR? |
Hi, |
The solution for me was replace the line (-) por la line (+)
Thanks! |
Hey, I ran the DockerFile with the updated lines, but a similar error appears when the file runs the command ERROR [12/13] RUN pip install --user -e detectron2_repo. #15 19.10 ERROR: Package 'detectron2' requires a different Python: 3.6.9 not in '>=3.7'executor failed running [/bin/sh -c pip install --user -e detectron2_repo]: exit code: 1 Any suggestions? |
How is configure your dockerfile? |
Yes, I had those changes already when I cloned the repository. |
I posted two solutions that worked for me here: #4394 (comment) it might help you, too. |
Instructions To Reproduce the 🐛 Bug:
https://github.com/facebookresearch/detectron2/blob/main/docker/Dockerfile#L17
docker build .
run, such as a private dataset.
Possible Fix:
Update the link to download the desired pip version:
https://bootstrap.pypa.io/pip/3.6/get-pip.py
Environment:
Local environment from where Docker is executed:
The text was updated successfully, but these errors were encountered: