Description:
Hi, I installed the Poetry plugin poetry-plugin-shell following the official instructions. However, when I run poetry shell, I get the error message "The command 'shell' does not exist."
Steps to reproduce:
- Installed Poetry via
pipx: pipx install poetry
- Installed the
poetry-plugin-shell plugin via pipx using:
pipx inject poetry poetry-plugin-shell
- Attempted to run
poetry shell, but received the following error message:
The command "shell" does not exist.
Expected behavior:
The poetry shell command should work after installing the plugin.
Actual behavior:
poetry shell does not work and the error message appears.
System Information:
- Poetry version: Poetry (version 2.0.1)
- Python version: Python 3.12.3
- Operating System: Ubuntu 24.04.1 LTS (WSL 2 on Windows)
- Poetry installation method: pipx
- Plugin installation method: pipx inject
Additional context:
This issue persists even after a successful installation via pipx. Please let me know if any further information is needed. Thank you!
Solution:
The issue was resolved by running the following command:
poetry self add poetry-plugin-shell
Description:
Hi, I installed the Poetry plugin
poetry-plugin-shellfollowing the official instructions. However, when I runpoetry shell, I get the error message "The command 'shell' does not exist."Steps to reproduce:
pipx:pipx install poetrypoetry-plugin-shellplugin viapipxusing:poetry shell, but received the following error message:Expected behavior:
The
poetry shellcommand should work after installing the plugin.Actual behavior:
poetry shelldoes not work and the error message appears.System Information:
Additional context:
This issue persists even after a successful installation via
pipx. Please let me know if any further information is needed. Thank you!Solution:
The issue was resolved by running the following command: