anyone get this when running the latest CLI? ```11...
# dev-help
w
anyone get this when running the latest CLI?
Copy code
11:47❯ openhands
DEBUG:openhands:DEBUG mode enabled.
11:54:00 - openhands:DEBUG: logger.py:378 - Logging initialized
11:54:00 - openhands:DEBUG: logger.py:390 - Logging to file in: /home/rbren/git/OpenHands/logs
2025-08-12 11:54 - openhands_aci:DEBUG - Logger initialized
2025-08-12 11:54 - openhands_aci.editor.file_cache:DEBUG - Current size updated: 0
2025-08-12 11:54 - openhands_aci.editor.file_cache:DEBUG - FileCache initialized with directory: /tmp/oh_editor_history_grfilneo, size_limit: None, current_size: 0
ERROR:root:  File "/home/rbren/.asdf/installs/python/3.12.7/bin/openhands", line 5, in <module>
    from openhands.cli.main import main
  File "/home/rbren/git/OpenHands/openhands/cli/main.py", line 12, in <module>
    from openhands.cli.commands import (
  File "/home/rbren/git/OpenHands/openhands/cli/commands.py", line 14, in <module>
    from openhands.cli.settings import (
  File "/home/rbren/git/OpenHands/openhands/cli/settings.py", line 10, in <module>
    from openhands.cli.tui import (
  File "/home/rbren/git/OpenHands/openhands/cli/tui.py", line 14, in <module>
    import markdown  # type: ignore
    ^^^^^^^^^^^^^^^

ERROR:root:<class 'ModuleNotFoundError'>: No module named 'markdown'
b
You need to run:
Copy code
poetry run openhands
Are you running it like that?
The command was changed. Updating it with the release branch
w
ugh we shouldn't need that 😞 ideally openhands would run by itself
b
CC @chilly-france-44439
Yes
Oh wait this might be a different problem
c
or you can use
uvx --python 3.12 --from git+https://github.com/All-Hands-AI/OpenHands openhands
btw, did you
make build
to install
markdown
?
w
ideally people would be able to just run
openhands
the same way they can run
claude
I did
pip install openhands-ai
👍 1
c
that should install the "markdown" dependency though https://github.com/All-Hands-AI/OpenHands/blob/e1559651b86123e1036a5bc1deb9357c659f9993/pyproject.toml#L45 But irrc openhands-ai package wasn't yet updated to latest main and we only adds
markdown
until recently
so smth weird happening under the hood
Well just tested at least this is working fine
uvx --python 3.12 --from git+https://github.com/All-Hands-AI/OpenHands openhands
l
I did pip uninstall and then pip install and it started working again (maybe the shim had to be updated?).