Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ImportError: could not import vlm_coco_local when running uv run src/run.py spot #585

@yadeggss

Description

@yadeggss

when running the OM1 project on a fresh GitHub codespace, the system throws an ImportError for vlm_coco_local, even though no such module exists in the repo. clearing pycache and reinstalling dependencies doesn’t fix it.

to reproduce:

  1. clone the OM1 repo into a new GitHub Codespace
  2. run uv sync
  3. run uv run src/run.py spot

expected behavior:
the script should initialize the robot simulation (spot agent) without errors, skipping unavailable VLM modules if missing.

screenshots:

Image
Image

system information
• OS: GitHub Codespaces (Ubuntu 22.04, hosted on macOS M1 laptop)
• python version: 3.10
• environment: uv virtual environment

additional context:
the import seems to originate from a compiled cache file under src/inputs/plugins/pycache/vlm_coco_local.cpython-310.pyc. removing caches doesn’t prevent the error.

potential fix: add a conditional import to handle missing local model modules gracefully.

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