-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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-shellplugin viapipxusing: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-shellMetadata
Metadata
Assignees
Labels
No labels