[Solved] No module named numpy (or similar)?

#1

It might be happening that even after putting numpy as requirement you get ModuleNotFoundError or so.

This is happening because the python packages are being installed via requirements.txt in global python, while run.sh is activating base conda environment. As a fix you need to do either of these:

  1. You can just comment the source activate base in run.sh to stop using Conda’s python but use container/global instead
  2. Use environment.yml to install numpy with conda.
1 Like
Why I was blocked from uploading new models for 3 days
#2

@shivam: The source activate base like was a remnant from other competitions where specific env variables needed to be loaded. In this case, I believe removing it should just be fine.