Poetry Error Messages
Python dependency management and packaging.All Poetry pages
- Poetry could not find a pyproject.toml file in /path or its parentsPoetry commands need a pyproject.toml in the current folder or a parent, or fail with Poetry could not find a pyproject.toml file. Use poetry init, cd or -C.
- Poetry: The current project's supported Python range is not compatible with some of the required packagespoetry lock fails when requires-python allows versions a dependency does not support. Narrow requires-python, or restrict the dependency with a python marker.
- Poetry: The option "--no-dev" does not existPoetry 2 removed --no-dev, so poetry install --no-dev fails with The option "--no-dev" does not exist. Use poetry install --without dev, or --only main.
- pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock`poetry install stops when pyproject.toml dependencies changed after poetry.lock was written. Run poetry lock, commit poetry.lock, verify with check --lock.