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?

More than 3 years have passed since last update.

Pythonの仮想環境の構築についてやったのでメモ

Last updated at Posted at 2021-10-07

#仮想環境とは
仮想環境では、すべてのPythonのパッケージから切り離して、独自のパッケージをインストールできる仮想のファイルを作成してくれます。プロジェクトごとに必要なパッケージを用意できるので、モジュールの管理も簡単。

##仮想環境の作成手順

###01. 仮想環境を作成するファイルの階層にて、

python -m venv ll_env

*(ll_env)は仮想環境の名前なので、任意の名前

###02. 仮想環境を有効化

source ll_env/bin/activate

*(ll_env)は仮想環境の名前なので、任意の名前

###03. 仮想環境の無効化

deactivate
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?