python-poetry / python-poetry/poetry-plugin-shell
Issue with poetry shell Command Not Working After Installing poetry-plugin-shell via pipx
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 10
- Avg merge
- 59m
- Merged PRs (30d)
- 3
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-shell
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the reported pipx inject poetry poetry-plugin-shell installation with the working poetry self add poetry-plugin-shell command, then reproduce poetry shell using Poetry 2.0.1. Done means the documented installation path reliably makes the shell command available, or clearly explains the required command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100