automl / automl/random_forest_run
Unable to install pyrfr using poetry
- Dominant language
- C++
- Stars
- 39
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Hi. I'm trying to install auto-sklearn on an Apple silicon mac and I'm stuck at installing pyrfr. The error message is as follows:
```
Using version ^0.9.0 for pyrfr
Updating dependencies
Resolving dependencies... (0.1s)
Package operations: 1 install, 0 updates, 0 removals
• Installing pyrfr (0.9.0): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
[, ]
error: command 'swig' failed: No such file or directory
at ~/Library/Application Support/pypoetry/venv/lib/python3.11/site-packages/poetry/installation/chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ 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 pyrfr (0.9.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "pyrfr (==0.9.0)"'.
```
Any help?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Poetry installation for pyrfr 0.9.0 on an Apple silicon Mac and check the reported missing swig command and PEP 517 build path. Done means the package installs successfully through Poetry without the shown ChefBuildError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100