python-poetry / python-poetry/poetry-plugin-shell

Issue with poetry shell Command Not Working After Installing poetry-plugin-shell via pipx

Open
#34 1 comment 0 reactions 0 assignees View on GitHub

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:
  1. Installed Poetry via pipx: pipx install poetry
  2. Installed the poetry-plugin-shell plugin via pipx using:
    pipx inject poetry poetry-plugin-shell
    
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.