Change8
Error4 reports

Fix ShellNotSupportedError

in Poetry

Solution

The "ShellNotSupportedError" in Poetry often arises when Poetry can't find a shell activator script compatible with the shell you're currently using within the virtual environment. Ensure that Poetry supports your shell (e.g., bash, zsh, PowerShell) and that the virtual environment was created with the correct shell initialized or explicitly activated. Try creating a new environment `poetry env use python` then activate the environment using `poetry shell` or `poetry env activate`.

Timeline

First reported:Jan 21, 2025
Last reported:May 19, 2025

Need More Help?

View the full changelog and migration guides for Poetry

View Poetry Changelog