Change8
Error3 reports

Fix InvalidRequirementError

in Poetry

Solution

InvalidRequirementError in Poetry usually arises from malformed or incompatible dependency specifications in your pyproject.toml (e.g., incorrect version constraints, file paths, or extras). Review your pyproject.toml file, paying close attention to version specifiers and any dependencies referenced via file paths. Ensure that all dependency specifications adhere to PEP 440 and that file paths are valid and accessible.

Timeline

First reported:Jan 22, 2025
Last reported:Sep 24, 2025

Need More Help?

View the full changelog and migration guides for Poetry

View Poetry Changelog