Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Flemington7 opened this issue Jan 20, 2025 · 0 comments

Comments

@Flemington7
Copy link

Flemington7 commented Jan 20, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant