Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#34 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
cli

調査の方向性

まず、報告されている pipx inject poetry poetry-plugin-shell によるインストールを、動作する poetry self add poetry-plugin-shell コマンドと比較し、その後 Poetry 2.0.1 を使用して poetry shell を再現してください。文書化されたインストール手順によって shell コマンドが確実に利用可能になるか、必要なコマンドが明確に説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
141
フォーク
10
平均マージ
59分
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python-poetry/poetry-plugin-shell のほかの issue

python-poetry/poetry-plugin-shell の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。