😺
windowsでpoetryを使い始める
概要
scoop->pipx->poetry
scoop install
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
pipx
scoop install pipx
pipx ensurepath
poetry setup
プロジェクトルートにvenvフォルダを作成するように変更する
poetry config virtualenvs.in-project true
おまけ
pytorch install
cu118の場合
poetry source add torch_cu118 --priority=explicit https://download.pytorch.org/whl/cu118
poetry add torch torchvision torchaudio --source torch_cu118 --no-cache
--nocache
はこのissueの事象でつけている。
Discussion