Erreur d'installation pour "frozenlist (1.3.3)"
Bonjour !
J'essaie d'installer une version locale de LibreQDA sur mon ordinateur (OS = Mac - Sonoma 14.6.1). J'ai suivi les étapes indiqués jusqu'à l'installation de pipx et poetry. Arrivé à la commande "pipx install poetry", je reçois l'erreur suivante.
J'inclus en pièce jointe une copie du terminal, et les sections que j'ai identifié qui décrivent l'erreur en question.
user@user-MacBook-Air libre-qda % pipx install poetry installed package poetry 2.1.3, installed using Python 3.13.5
These apps are now globally available
- poetry done!
user@user-MacBook-Air libre-qda % poetry install Creating virtualenv taguette-ELUc9UqV-py3.13 in /Users/user/Library/Caches/pypoetry/virtualenvs Installing dependencies from lock file
Package operations: 61 installs, 0 updates, 0 removals
- Installing attrs (24.2.0)
- Installing wrapt (1.16.0)
- Installing idna (3.10)
- Installing outcome (1.3.0.post0)
- Installing deprecated (1.2.14)
- Installing sortedcontainers (2.4.0)
- Installing h11 (0.14.0)
- Installing sniffio (1.3.1)
- Installing frozenlist (1.3.3): Failed
PEP517 build of a dependency failed
Backend subprocess exited when trying to invoke build_wheel
| Command '['/var/folders/pw/6wj0ysj14bj64809rvdzwr640000gn/T/tmp86ff_2xp/.venv/bin/python', '/Users/user/.local/pipx/venvs/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/var/folders/pw/6wj0ysj14bj64809rvdzwr640000gn/T/tmpirtw0uc5']' returned non-zero exit status 1.
|
| /private/var/folders/pw/6wj0ysj14bj64809rvdzwr640000gn/T/tmp86ff_2xp/.venv/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
| !!
|
| ********************************************************************************
| Please consider removing the following classifiers in favor of a SPDX license expression:
|
| License :: OSI Approved :: Apache Software License
|
| See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
| ********************************************************************************
|
| !!
[...]
| 13 warnings and 11 errors generated.
| error: command '/usr/bin/clang' failed with exit code 1
Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with frozenlist (1.3.3)
- not supporting PEP 517 builds
- not specifying PEP 517 build requirements correctly
- the build requirements are incompatible with your operating system or Python version
- the build requirements are missing system dependencies (eg: compilers, libraries, headers).
You can verify this by running pip wheel --no-cache-dir --use-pep517 "frozenlist (==1.3.3)".