4
0

More than 1 year has passed since last update.

[Poetry] [Windows10] "ValueError File .. pypoetry\ *.whl does not exist" を解決する

Last updated at Posted at 2021-10-02

Windows10環境でのPoetryの不具合

Windows10で,最新版のPoetry (筆者の環境では1.1.10)にてpoetry installを行おうとすると,ValueError File \C:\Users\user\AppData\Local\pypoetry\ *.whl does not exist と表示されてしまい詰まってしまったので,解決法をメモする.

解決法

C:\Users\your_username\AppData\Local\pypoetry\Cacheを削除してキャッシュの削除を行い,もう一度poetry installを実行すればよい.
また今のところ,poetry installを行う際に毎度この手順を踏む必要がある.(他の解決法を知っている方,良ければコメントで教えて頂きたいです.)

Reference

追記

https://qiita.com/radiol/items/a27530fd33b7e4758e6d
こちらに同じの問題の,より根本的な解決法が示されていました.WindwosとLinuxのパスの指定方法の違いに起因する様です.

4
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
4
0