1
1

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 3 years have passed since last update.

Pythonのライブラリが既にインストール済みか調べるコマンド

Posted at

Pythonのライブラリが既にインストール済みか調べたい時

以下のコードをCLIで打てば良い

pip3 list | grep <調べたいライブラリの名前> 

feedparserライブラリがインストールされているか確認する

pip3 list | grep feedparser

検索したいライブラリ名の一部でも検索をかけられる

pip3 list | grep feed

結果

feedparser     6.0.2

検索したライブラリ名が存在しない場合は、何も表示されません。

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?