Skip to content

A fresh devcontainers with tmu #78

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

Open
akkadhim opened this issue Feb 20, 2025 · 0 comments
Open

A fresh devcontainers with tmu #78

akkadhim opened this issue Feb 20, 2025 · 0 comments

Comments

@akkadhim
Copy link
Contributor

When setup a devcontainers with a Dockerfile with the follwoing setup:

FROM nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04
RUN apt-get update && \
    apt-get install -y python3 python3-pip git

The tmu will fail to completely install and you will get the following:

root@bf177e7fc0be:/workspace/tmu# pip install . Processing /workspace/tmu Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: UNKNOWN Building wheel for UNKNOWN (pyproject.toml) ... done Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-cp310-cp310-linux_x86_64.whl size=341308 sha256=e7045db872d540b5dc497516fbb824b9a4438bd3424387718101918b354ce32d Stored in directory: /tmp/pip-ephem-wheel-cache-idcychq5/wheels/d7/7a/5c/30cd08eb0b6d6d9d2d6de8fc09fa8953b946b1df112c6e2f91 Successfully built UNKNOWN Installing collected packages: UNKNOWN Successfully installed UNKNOWN-0.0.0

The problem seems to be because the pip version installed by default in the Docker image is outdated, which can cause compatibility issues with some packages or dependencies.
https://stackoverflow.com/questions/78034052/unknown-project-name-and-version-number-for-my-own-pip-package

To ensure the complete install of tmu the follwoing command should be done before the installation:
pip install --upgrade pip
Or you can explicitly add the command in your Dockerfile.

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

1 participant