little-architect-38123
08/18/2025, 5:27 PMlittle-architect-38123
08/18/2025, 5:27 PM[testuser@archlinux ~]$ uvx --python 3.12 --from openhands-ai openhands
Installed 310 packages in 1.49s
Traceback (most recent call last):
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/bin/openhands", line 6, in <module>
from openhands.cli.entry import main
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/cli/entry.py", line 8, in <module>
from openhands.cli.main import run_cli_command
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/cli/main.py", line 10, in <module>
import openhands.agenthub # noqa F401 (we import this to get the agents registered)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/agenthub/__init__.py", line 6, in <module>
from openhands.agenthub import ( # noqa: E402
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/agenthub/browsing_agent/__init__.py", line 1, in <module>
from openhands.agenthub.browsing_agent.browsing_agent import BrowsingAgent
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/agenthub/browsing_agent/browsing_agent.py", line 6, in <module>
from openhands.agenthub.browsing_agent.response_parser import BrowsingResponseParser
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/agenthub/browsing_agent/response_parser.py", line 4, in <module>
from openhands.controller.action_parser import ActionParser, ResponseParser
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/controller/__init__.py", line 1, in <module>
from openhands.controller.agent_controller import AgentController
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openhands/controller/agent_controller.py", line 10, in <module>
from litellm.exceptions import ( # noqa
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/litellm/__init__.py", line 20, in <module>
from litellm.llms.custom_httpx.http_handler import AsyncHTTPHandler, HTTPHandler
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/litellm/llms/custom_httpx/http_handler.py", line 16, in <module>
from litellm.litellm_core_utils.logging_utils import track_llm_api_timing
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py", line 7, in <module>
from litellm.types.utils import (
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/litellm/types/utils.py", line 42, in <module>
from ..litellm_core_utils.core_helpers import map_finish_reason
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/litellm/litellm_core_utils/core_helpers.py", line 8, in <module>
from litellm.types.llms.openai import AllMessageValues
File "/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/litellm/types/llms/openai.py", line 36, in <module>
from openai.types.responses.response import (
ImportError: cannot import name 'ResponseTextConfig' from 'openai.types.responses.response' (/home/testuser/.cache/uv/archive-v0/upXV-6pQCQhXOz1Qs2cSr/lib/python3.12/site-packages/openai/types/responses/response.py). Did you mean: 'ResponseFormatTextConfig'?better-park-34863
08/18/2025, 5:27 PMlittle-architect-38123
08/18/2025, 5:28 PMchilly-france-44439
08/18/2025, 5:29 PMlittle-architect-38123
08/18/2025, 5:29 PMuvx --python 3.12 --from openhands-ai openhands
same one from the project page, so I suppose it's the pypi package. However uvx does not respect poetry lockfile I think, so it could break anytime?chilly-france-44439
08/18/2025, 5:33 PMchilly-france-44439
08/18/2025, 5:33 PMchilly-france-44439
08/18/2025, 5:33 PMchilly-france-44439
08/18/2025, 5:34 PMchilly-france-44439
08/18/2025, 5:34 PMchilly-france-44439
08/18/2025, 5:37 PMchilly-france-44439
08/18/2025, 5:40 PMcalm-artist-7206
08/18/2025, 5:42 PMnarrow-agent-26548
08/18/2025, 5:42 PMchilly-france-44439
08/18/2025, 6:01 PMuvx --python 3.12 --from git+https://github.com/All-Hands-AI/OpenHands@pin-openai-1-99-9 openhands checked that it did fix the issuenarrow-agent-26548
08/18/2025, 6:28 PMlittle-architect-38123
08/19/2025, 9:40 AMuvx --python 3.12 --with "openai==1.99.9" --from openhands-ai openhands
If it's going to take long before it's fixed, please consider updating the command in the project page.chilly-france-44439
08/19/2025, 1:48 PM