nv-tlabs/XCube

ModuleNotFoundError: No module named 'xcube'

StarsTesla opened this issue · 2 comments

I follow the instructions and download the waymo.tar, but I met this error.

from xcube.utils.vis_util import random_seed, waymo_palette, waymo_mapping ModuleNotFoundError: No module named 'xcube'

Hi, please make sure you are running the job under the main directory.

@StarsTesla I had the same error, you can easily fix it by adding XCube's directory to your Python path.

export PYTHONPATH=$PYTHONPATH:/XCube

if XCube is in your root (i.e. Docker), otherwise, set that path to where you cloned the repo.