No module "runpod" found
Hi, I am trying to run a serverless runpod instance with a docker image.
This is my dockerfile:
When the handler runs,
import runpod
errors out as ModuleNotFoundError: No module named 'runpod'
Anyone experienced this before?3 Replies
Shouldn't be doing that because the 2nd last line of the Dockerfile is installing it
I recommend to do a virtual env,
Create and activate virtual environment
RUN python3.10 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
https://github.com/justinwlin/runpodWhisperx/blob/master/Dockerfile
Such as I do. Just reduces chances of weird python and package stuff
GitHub
runpodWhisperx/Dockerfile at master · justinwlin/runpodWhisperx
Runpod WhisperX Docker Container Repo. Contribute to justinwlin/runpodWhisperx development by creating an account on GitHub.
What do you see on the CLI when you build the docker image? Especially when the command
RUN python3.11 -m pip install runpod
ran?