Skip to content

Can't find python inside the docker container #16

@ArghyaChatterjee

Description

@ArghyaChatterjee

Hello,

Thanks for your work. I tried to run the docker container and it was built correctly on a ubuntu 20.04 pc with cuda11.3. When I tried to run the docker run command, it's running the recently built docker image perfectly fine but when I tried to execute the following commands inside the docker container, I see it can't detect any python interpreter inside docker.

arghya@arghya-Pulse-GL66-12UEK:~/LabelMaker$ docker build --tag labelmaker-env-20.04 -f docker/ubuntu20.04+miniconda.dockerfile .
arghya@arghya-Pulse-GL66-12UEK:~/LabelMaker$ docker run   --gpus all   -i --rm   -v ./env_v2:/LabelMaker/env_v2   -v ./models:/LabelMaker/models   -v ./labelmaker:/LabelMaker/labelmaker   -v ./checkpoints:/LabelMaker/checkpoints   -v ./testing:/LabelMaker/testing   -v ./.gitmodules:/LabelMaker/.gitmodules   -t labelmaker-env-20.04 /bin/bash
root@6bd3cab54c33:/LabelMaker# ls
3rdparty  checkpoints  env_v2  labelmaker  labelmaker.egg-info  models  scripts  setup.py  testing
root@6bd3cab54c33:/LabelMaker# export TRAINING_OR_VALIDATION=Training
root@6bd3cab54c33:/LabelMaker# export SCENE_ID=47333462
root@6bd3cab54c33:/LabelMaker# python 3rdparty/ARKitScenes/download_data.py raw --split $TRAINING_OR_VALIDATION --video_id $SCENE_ID --download_dir /tmp/ARKitScenes/ --raw_dataset_assets lowres_depth confidence lowres_wide.traj lowres_wide lowres_wide_intrinsics vga_wide vga_wide_intrinsics
bash: python: command not found
root@6bd3cab54c33:/LabelMaker# python3 3rdparty/ARKitScenes/download_data.py raw --split $TRAINING_OR_VALIDATION --video_i
d $SCENE_ID --download_dir /tmp/ARKitScenes/ --raw_dataset_assets lowres_depth confidence lowres_wide.traj lowres_wide low
res_wide_intrinsics vga_wide vga_wide_intrinsics
bash: python3: command not found 

What's the problem here ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions