1
1

More than 3 years have passed since last update.

【Python】インストールしたパッケージの保存と新しい環境へ一括インストールする方法 Mac環境

Posted at

こんにちは、かをるです。

今回は、Pythonのインストールしたパッケージを保存し、その保存した環境を別の環境へ一括でインストールする方法をご紹介していきます。

様々なパッケージをインストールした環境を作成したら、その中のパッケージのリストを『requirements.txt』というパッケージリストになったファイルに出力します。

そして、『requirements.txt』のリストから新しい仮想環境へ一括でパッケージをインストールすることができます。

パッケージのインストールに関しては、以前の記事をご覧ください。
【Python パッケージ(ライブラリ)のpipコマンドを使ったインストール方法】

ブログに投稿しました。
https://kaworublog.com/python-requirements-txt/

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