stale-dream-82610
10/16/2025, 10:40 PMlimited-student-10747
10/16/2025, 10:51 PMquick-window-91705
10/16/2025, 10:55 PM(base) rohitmalhotra@Rohits-Laptop enterprise % docker run -it \
--pull=always \
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.59-nikolaik \
-e SANDBOX_USER_ID=$(id -u) \
-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openhands:/root/.openhands \
--add-host host.docker.internal:host-gateway \
--name openhands-cli-$(date +%Y%m%d%H%M%S) \
python:3.12-slim \
bash -c "pip install uv && uvx --python 3.12 openhands"
3.12-slim: Pulling from library/python
e363695fcb93: Download complete
eb47881cf6d9: Download complete
1a7d6facecb1: Download complete
29fec25b6102: Download complete
Digest: sha256:dc9e92fcdc085ad86dda976f4cfc58856dba33a438a16db37ff00151b285c8ca
Status: Downloaded newer image for python:3.12-slim
Collecting uv
Downloading uv-0.9.3-py3-none-manylinux_2_28_aarch64.whl.metadata (11 kB)
Downloading uv-0.9.3-py3-none-manylinux_2_28_aarch64.whl (20.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.1/20.1 MB 32.0 MB/s eta 0:00:00
Installing collected packages: uv
Successfully installed uv-0.9.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[notice] A new release of pip is available: 25.0.1 -> 25.2
[notice] To update, run: pip install --upgrade pip
Built func-timeout==4.3.5
Installed 140 packages in 85ms
Error: No module named 'openhands'
Traceback (most recent call last):
File "/root/.cache/uv/archive-v0/Glr9hx1yutgvhXjQ_IvPm/lib/python3.12/site-packages/openhands_cli/simple_main.py", line 42, in main
from openhands_cli.agent_chat import run_cli_entry
File "/root/.cache/uv/archive-v0/Glr9hx1yutgvhXjQ_IvPm/lib/python3.12/site-packages/openhands_cli/agent_chat.py", line 10, in <module>
from openhands.sdk import (
ModuleNotFoundError: No module named 'openhands'
Traceback (most recent call last):
File "/root/.cache/uv/archive-v0/Glr9hx1yutgvhXjQ_IvPm/bin/openhands", line 12, in <module>
sys.exit(main())
^^^^^^
File "/root/.cache/uv/archive-v0/Glr9hx1yutgvhXjQ_IvPm/lib/python3.12/site-packages/openhands_cli/simple_main.py", line 42, in main
from openhands_cli.agent_chat import run_cli_entry
File "/root/.cache/uv/archive-v0/Glr9hx1yutgvhXjQ_IvPm/lib/python3.12/site-packages/openhands_cli/agent_chat.py", line 10, in <module>
from openhands.sdk import (
ModuleNotFoundError: No module named 'openhands'stale-dream-82610
10/16/2025, 10:55 PMquick-window-91705
10/16/2025, 10:57 PMstale-dream-82610
10/16/2025, 10:58 PMstale-dream-82610
10/16/2025, 10:59 PMdocker pull docker.all-hands.dev/all-hands-ai/runtime:0.59-nikolaik
docker run -it --rm --pull=always \
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.59-nikolaik \
-e LOG_ALL_EVENTS=true \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openhands:/.openhands \
-p 3000:3000 \
--add-host host.docker.internal:host-gateway \
--name openhands-app \
docker.all-hands.dev/all-hands-ai/openhands:0.59stale-dream-82610
10/16/2025, 11:03 PM% docker image ls docker.all-hands.dev/all-hands-ai/openhands --all
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.all-hands.dev/all-hands-ai/openhands 1.0.1-cli 4f566d28f527 3 days ago 1.83GB
docker.all-hands.dev/all-hands-ai/openhands 0.59 00968de77a7b 6 days ago 1.83GB
docker.all-hands.dev/all-hands-ai/openhands 0.54 41e4de30642b 8 weeks ago 1.83GBquick-window-91705
10/16/2025, 11:08 PMstale-dream-82610
10/16/2025, 11:17 PMdocker run -it \
--pull=always \
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.59-nikolaik \
-e SANDBOX_USER_ID=$(id -u) \
-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openhands:/root/.openhands \
--add-host host.docker.internal:host-gateway \
--name openhands-cli-$(date +%Y%m%d%H%M%S) \
python:3.12-slim \
bash -c "pip install uv && uvx --python 3.12 openhands"
i get the same missing openhands error you showed.
If I run uvx --python 3.12 --from openhands-ai openhands as
https://www.all-hands.dev/blog/host-your-own-coding-agents-with-openhands-using-nvidia-dgx-spark
says then I get the CLI setup which warns me it is deprecated and the prompts don't look the same as that post showsstale-dream-82610
10/16/2025, 11:18 PMquick-window-91705
10/16/2025, 11:23 PM