Skip to content
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

make docker-build failed because of get-pip Python 3.6 unsupport and apex build failure #216

Open
y-okumura-isp opened this issue Mar 3, 2022 · 3 comments

Comments

@y-okumura-isp
Copy link

When running make docker-build, the following error occurs.

(1) pip no more supports Python 3.6

It looks get-pip.py is updated on 03-Feb-2022 09:45.

ERROR: This script does not work on Python 3.6 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/3.6/get-pip.py instead.
The command '/bin/bash -cu curl -O https://bootstrap.pypa.io/get-pip.py &&     python get-pip.py &&     rm get-pip.py' returned a non-zero code: 1
Makefile:65: recipe for target 'docker-build' failed
make: *** [docker-build] Error 1

(2) NVIDIA apex build failure

I got ATen/cuda/DeviceUtils.cuh: No such file or directory.
It looks build Apex latest version failed with pytorch 1.4.0 due to missing ATen/cuda/DeviceUtils.cuh

@wang149876
Copy link

Hello, I have the same problem as you. Have you solved it?

@y-okumura-isp
Copy link
Author

Yes, maybe. Though I don't know it is a right way, I could build by the following patch #217

@markus-42
Copy link

markus-42 commented Apr 5, 2022

I fixed this by replacing in docker/Dockerfile line 78, which is
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
with the following:
RUN curl -O https://bootstrap.pypa.io/pip/${PYTHON_VERSION}/get-pip.py && \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants