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

Docker build python version error #138

Open
gamdwk opened this issue Apr 27, 2023 · 1 comment
Open

Docker build python version error #138

gamdwk opened this issue Apr 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gamdwk
Copy link

gamdwk commented Apr 27, 2023

When I use the dockerfile in /examples/docker to build, error:

typing-extensions requires Python '>=3.7' but the running Python is 3.6.9

It shows that the Python version is incorrect. I tried changing the image in the Dockerfile to nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04, which I know comes with Python version 3.8. However, there are some issues with its apt source: the process '/bin/sh -c apt update' did not complete successfully with exit code 100. Can you please update this file? Additionally, when I tried to manually handle this issue and installed Marius using 'pip install .', I received an error that says

'CMake Error at /tmp/pip-build-env-cedd6q4t/overlay/lib/python3.8/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCUDACompiler.cmake:180 (message): Failed to find nvcc.'

Why this happened and how to solve it?

@gamdwk gamdwk added the bug Something isn't working label Apr 27, 2023
@rogerwaleffe
Copy link
Collaborator

rogerwaleffe commented Jul 20, 2023

Thanks for your question! Yes, these issues are not too surprising. Our original docker file had gotten quite out of date. We have updated the docker file and install dependencies/instructions. Can you try again with the latest main branch?

See here for instructions: https://github.com/marius-team/marius/tree/main/examples/docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants