1
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仮想環境作成

Posted at

環境

  • VS Code(ターミナルGit Bash)
  • Python3.9.1

仮想環境作成

アプリ作成するフォルダに移動
env: 任意

python -m venv env

アクティブ化

windows

source env/Scripts/activate

Mac

source env/bin/activate

VS Codeインタープリンタ選択

コマンドパレットで「Python: Select Interpreter」入力し、
作成した仮想環境のPythonを選択

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