Skip to content

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

@Flemington7

Description

@Flemington7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions