We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was using mamba on a MacBook Air 15-inch M3, 2024. I got the following error:
make build Building project... Checking dependencies... Checking system... macOS detected. Checking Python installation... Python 3.12.8 is already installed. Checking npm installation... npm 10.9.0 is already installed. Checking Node.js installation... Node.js 22.12.0 is already installed. Checking Docker installation... Docker version 27.3.1, build ce12230 is already installed. Checking Poetry installation... Poetry (version 1.8.5) is already installed. Dependencies checked successfully. Installing Python dependencies... Defaulting TZ (timezone) to UTC Using virtualenv: /Users/liao6/Library/Caches/pypoetry/virtualenvs/openhands-ai-O1UGlCDt-py3.12 Installing chroma-hnswlib... Requirement already satisfied: chroma-hnswlib in /Users/liao6/Library/Caches/pypoetry/virtualenvs/openhands-ai-O1UGlCDt-py3.12/lib/python3.12/site-packages (0.7.6) Requirement already satisfied: numpy in /Users/liao6/Library/Caches/pypoetry/virtualenvs/openhands-ai-O1UGlCDt-py3.12/lib/python3.12/site-packages (from chroma-hnswlib) (2.2.1) Installing dependencies from lock file Package operations: 1 install, 0 updates, 0 removals - Installing opencv-python (4.10.0.84): Failed ChefBuildError Backend 'setuptools.build_meta:__legacy__' is not available. Cannot import 'setuptools.build_meta' at ~/miniforge3/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare 160│ 161│ error = ChefBuildError("\n\n".join(message_parts)) 162│ 163│ if error is not None: → 164│ raise error from None 165│ 166│ return path 167│ 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path: Note: This error originates from the build backend, and is likely not a problem with poetry but with opencv-python (4.10.0.84) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "opencv-python (==4.10.0.84)"'. make[1]: *** [install-python-dependencies] Error 1 make: *** [build] Error 2
Development workflow
main d2790c8
MacOS
I was following instructions from https://github.com/All-Hands-AI/OpenHands/blob/main/Development.md
The error happens at Step 2. "make build".
The text was updated successfully, but these errors were encountered:
Looks like manually installing it got through the error?
poetry run pip install "opencv-python==4.10.0.84"
Sorry, something went wrong.
Yes.
opencv-python
Fixed by #6064
No branches or pull requests
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
I was using mamba on a MacBook Air 15-inch M3, 2024. I got the following error:
OpenHands Installation
Development workflow
OpenHands Version
main d2790c8
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
I was following instructions from https://github.com/All-Hands-AI/OpenHands/blob/main/Development.md
The error happens at Step 2. "make build".
The text was updated successfully, but these errors were encountered: