0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

"Poetry インストール" でうまくいかない話

Posted at

TL;DR

非公式の和訳や技術記事を読む前に公式ドキュメントを読みましょう。
Introduction | Documentation | Poetry

1. Poetryをインストールする

Unix: Linux, macOS, WSL(Windows Subsystem for Linux)
curl -sSL https://install.python-poetry.org | python3 -
Windows (Powershell)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

※ Microsoft StoreでPythonをインストールした場合は、最後のpypythonに書き換えて下さい。(そもそも非推奨ですが)

2. PoetryをPATHに追加する

  • Unix: $HOME/.local/bin
  • Windows: %APPDATA%\Python\Scripts
  • 自分でインストール先を変更した場合: $POETRY_HOME/bin

どうしてこうなった

get-poetry.pyinstall-poetry.py は古いインストーラで、v1.2.0でdeprecatedになりました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?