-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
PyCharm gives me the following error when I try to setup a poetry environment using the poetry.lock file:
Installing dependencies from lock file
Package operations: 2 installs, 0 updates, 0 removals
- Installing lxml (4.9.3)
- Installing numpy (1.25.2)
ChefBuildError
Backend 'setuptools.build_meta:__legacy__' is not available.
Cannot import 'setuptools.build_meta'
at ~\AppData\Roaming\pypoetry\venv\Lib\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 numpy (1.25.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "numpy (==1.25.2)"'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels