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?

Git BASHでPython仮想環境のアクティベイト忘備録

Last updated at Posted at 2024-10-21

忘備録

Windows環境でPythonをVSCODEで利用する場合、PowershellやCscript等の環境になり、Bashが使えない。そこで、Git BASHを利用して、Python環境の仮想化を実行したいので以下の通りまとめておく。

>cd <your directory>
>python -m venv .venv
>cd .venv/Script
>. activate

アクティベイトのコマンド前は、スペースがあるので気を付けよう。

ちなみにディアクティベイトは、以下のコマンドのでよい。

>deactivate

スクショも載せておく。
image.png

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?