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

How do you install `poetry shell` on macOS?

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
静か
技術スタック
python
領域
cli, documentation

調査の方向性

報告されている poetry shell と poetry env activate の動作から始め、リンクされている環境管理のドキュメントを確認してください。pipx でインストールした後、macOS で shell plugin がコマンドを提供することをどのように想定されているかを確認してください。完了条件は、プロジェクトのガイダンスで env activate を使用するのか、または shell command をどのようにインストールして呼び出すのかが明確に説明されていることです。

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

説明

I'm not sure what I've done, but, I can't manage to get poetry shell to work - poetry env activate works, though:

poetry was installed using pipx:

brew uninstall poetry
brew install pipx
pipx install poetry

Trying to spawn and activate a virtualenv with poetry shell fails:

poetry shell
Looks like you're trying to use a Poetry command that is not available.

Since Poetry (2.0.0), the shell command is not installed by default. You can use,

  - the new env activate command (recommended); or
  - the shell plugin to install the shell command

Documentation: https://python-poetry.org/docs/managing-environments/#activating-the-environment

Note that the env activate command is not a direct replacement for shell command.

But, poetry env activate works.

I'm not sure how I broke my setup, but, does anyone know what the issue might be, or if I should just use poetry env activate rather than poetry shell?

主要言語
Python
スター
141
フォーク
10
平均マージ
59分
マージ済み PR(30日)
3

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず 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 を短くまとめたダイジェスト。