This "Official Installer Script" fails on Windows
まだ誰も着手していません。
評価
調査の方向性
まず、Python 3.13 を使用する Windows 11 で、issue に記載された公式インストーラーコマンドを再現します。次に、https://install.python-poetry.org のインストーラーエントリーポイントと、生成された Poetry 実行可能ファイルを調査します。インストールによって利用可能な poetry --version の出力が得られ、ドキュメントに記載されたコマンドまたは PATH の設定が説明どおりに機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Installed on an up-to-date vanilla Windows 11 machine with Python 3.13 (symlinks enabled), via the official method recommended right here on the website:
PS C:\Users\me> (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
C:\Users\alexander.chandel\AppData\Roaming\Python\Scripts
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.8.4)
Installing Poetry (1.8.4): Creating environment
Installing Poetry (1.8.4): Installing Poetry
Installing Poetry (1.8.4): Creating script
Installing Poetry (1.8.4): Done
Poetry (1.8.4) is installed now. Great!
To get started you need Poetry's bin directory (C:\Users\me\AppData\Roaming\Python\Scripts) in your `PATH`
environment variable.
Alternatively, you can call Poetry explicitly with `C:\Users\me\AppData\Roaming\Python\Scripts\poetry`.
You can test that everything is set up by executing:
`poetry --version`
PS C:\Users\me> C:\Users\me\AppData\Roaming\Python\Scripts\poetry --version
PS C:\Users\me>
Ok so the installation failed somehow. Calling it explicitly outputs nothing. And it did not bother to add that dir to my USER PATH for me, so it isn't really an "install". Let's add it to the PATH and try again:
PS C:\Users\me> poetry --version
PS C:\Users\me> poetry -h
PS C:\Users\me> poetry -foobar
PS C:\Users\me>
No output at all, literally nothing.
Let's try the absolute path, just in case:
PS C:\Users\me> C:\Users\me\AppData\Roaming\pypoetry\venv\Scripts\poetry.exe --version
PS C:\Users\me> C:\Users\me\AppData\Roaming\pypoetry\venv\Scripts\poetry.exe -h
PS C:\Users\me>
Still nothing. What's going on?
- 主要言語
- Python
- スター
- 255
- フォーク
- 65
- 平均マージ
- 2時間 48分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-poetry/install.python-poetry.org のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
python-poetry/install.python-poetry.org#144 · コメント 8 件 · リアクション 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
python-poetry/install.python-poetry.org#177 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python-poetry/install.python-poetry.org の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
area:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RailtownAI/railtracks#1633 ·
メンテナーはふだん 2 日以内に返信
-
review-panel severity:low
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
kristovatlas/coin-accounting#152 ·
メンテナーはふだん 1 日以内に返信
-
documentation :blue_book:
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
PennyLaneAI/pennylane#10280 ·
メンテナーはふだん 2 日以内に返信
-
`pipx reinstall` prints a Python traceback when the reinstall fails対応中かも @ParamTanna が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信