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?

pip WARNING: Ignoring invalid distributionが発生する

0
Posted at

この記事は過去のエラー解決メモを整理したものです。
現在の推奨手順とは異なる可能性があります。
公式ドキュメントを確認して最新情報と差分がないかを確認してください。

事象

pip install の実行中に、次の警告が表示されるようになった。

WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages)

環境

  • Windows 10
  • Python 3.9
  • pip 21.3.1
  • VSCode 1.61.2

原因

  • d:\python\lib\site-packages に、ディレクトリ名が - または ~ で始まるディレクトリが残っていた。

対策

  • - または ~ で始まる不要なディレクトリを削除する。今回は ~ip~ip-21.2.4 を削除した。

参考情報

ずっとmacに出てくるWARNINGの意味がわかりません。|teratail

WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages) How do I fix this and what does it mean?

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?