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?

PowershellでPYTHONPATHを設定する方法

Posted at

はじめに

PowershellでPYTHONPATHを設定する方法を忘れがちなので備忘録として置いておく.

PowershellでPYTHONPATHを設定する方法

以下のコマンドで設定できる,

$env:PYTHONPATH = "パスをここに入力"

カレントディレクトリをパスに設定するなら以下のコマンド.

$env:PYTHONPATH = "$pwd"

設定したPYTHONPATHは以下のコマンドで確認できる.

$env:PYTHONPATH

終わり

単純なんだけどUbuntuとやり方が違うから忘れちゃうんだなあ.

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?