I've recently reinstalled conda and created a new environment for this project. When instaling it via poetry I get this error:
t /opt/homebrew/Caskroom/miniconda/base/envs/chanjo2/lib/python3.8/site-packages/poetry/installation/chef.py:152 in _prepare
148│
149│ error = ChefBuildError("\n\n".join(message_parts))
150│
151│ if error is not None:
→ 152│ raise error from None
153│
154│ return path
155│
156│ 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 mysqlclient (2.2.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "mysqlclient (==2.2.0) ; python_version >= "3.8""'.
I solved it like this:
pip install --upgrade poetry
Possibly I've also runned this command: brew install mysql pkg-config
I've recently reinstalled conda and created a new environment for this project. When instaling it via poetry I get this error:
I solved it like this:
Possibly I've also runned this command:
brew install mysql pkg-config