LoginSignup
23
28

More than 5 years have passed since last update.

PycharmでPython Interpreterの変更を行う方法

Last updated at Posted at 2016-03-16

目的

virtualenvで特定のフォルダにPython環境を構築した場合に、Pycharmがそのフォルダの環境を参照するようにする。

環境

環境要素
OS Windows 10 (HyperV上)
PyCharm PyCharm Community Edtion 5.0.4

方法

(1) PyCharmを起動し、以下の順で選択していく。

メニューバー > File > Settings > Project: [プロジェクト名] > Project Interpreter > 歯車ボタン > Add Local

(2) virtualenvで作成した環境のpython.exeを指定して追加する。
(3) Project Interpreterのセレクトボックスから追加した環境を選択する
以上で切り替え完了。

23
28
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
23
28