chilly-france-44439
07/29/2025, 8:50 PMon ⛵ nebius-mk8s-vllm OpenHands on main [$!?⇣] via 🐳 desktop-linux is 📦 v0.50.0 via v24.1.0 via 🐍 v3.12.7 via 🅒 general on ☁️ xingyao@all-hands.dev(us-central1) took 20s
❯ make run
Running the app...
Starting backend server...
Waiting for the backend to start...
Traceback (most recent call last):
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/bin/uvicorn", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/main.py", line 413, in main
run(
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/main.py", line 580, in run
server.run()
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/server.py", line 67, in run
return asyncio.run(self.serve(sockets=sockets))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/mambaforge/base/envs/oh/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/mambaforge/base/envs/oh/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/server.py", line 71, in serve
await self._serve(sockets)
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/server.py", line 78, in _serve
config.load()
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/config.py", line 436, in load
self.loaded_app = import_from_string(self.app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/uvicorn/importer.py", line 19, in import_from_string
module = importlib.import_module(module_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/mambaforge/base/envs/oh/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/server/listen.py", line 5, in <module>
from openhands.server.app import app as base_app
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/server/app.py", line 15, in <module>
import openhands.agenthub # noqa F401 (we import this to get the agents registered)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/agenthub/__init__.py", line 6, in <module>
from openhands.agenthub import ( # noqa: E402
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/agenthub/browsing_agent/__init__.py", line 1, in <module>
from openhands.agenthub.browsing_agent.browsing_agent import BrowsingAgent
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/agenthub/browsing_agent/browsing_agent.py", line 6, in <module>
from openhands.agenthub.browsing_agent.response_parser import BrowsingResponseParser
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/agenthub/browsing_agent/response_parser.py", line 4, in <module>
from openhands.controller.action_parser import ActionParser, ResponseParser
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/controller/__init__.py", line 1, in <module>
from openhands.controller.agent_controller import AgentController
File "/Users/xingyaow/Projects/All-Hands-AI/OpenHands/openhands/controller/agent_controller.py", line 10, in <module>
from litellm.exceptions import ( # noqa
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/litellm/__init__.py", line 9, in <module>
from litellm.llms.custom_httpx.http_handler import AsyncHTTPHandler, HTTPHandler
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/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 "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py", line 7, in <module>
from litellm.types.utils import (
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/litellm/types/utils.py", line 18, in <module>
from openai._models import BaseModel as OpenAIObject
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/openai/__init__.py", line 12, in <module>
from ._client import Client, OpenAI, Stream, Timeout, Transport, AsyncClient, AsyncOpenAI, AsyncStream, RequestOptions
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/openai/_client.py", line 31, in <module>
from ._base_client import (
File "/Users/xingyaow/Library/Caches/pypoetry/virtualenvs/openhands-ai-wqN7FI_O-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1325, in <module>
class _DefaultAioHttpClient(httpx_aiohttp.HttpxAiohttpClient): # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'httpx_aiohttp' has no attribute 'HttpxAiohttpClient'
For some reason, make run throw this error on OpenHands main branch. @nutritious-balloon-65098 please take a looklittle-architect-38123
07/29/2025, 9:16 PMlittle-architect-38123
07/29/2025, 9:16 PMchilly-france-44439
07/29/2025, 9:21 PMlittle-architect-38123
07/29/2025, 9:25 PMchilly-france-44439
07/29/2025, 9:28 PM