日々精進

新しく学んだことを書き留めていきます

PyCharmのSSH Interpreterからconda環境を使う

EC2サーバ上でプログラムを実行したい、その時に、tensorflow_p36仮想環境で実行したい。実行はPyCharmから行いたいという場合。

Configure Remote Python InterpreterウィンドウのPython Interpreter pathに以下のように、仮想環境のpython実行ファイルのパスを指定する。

/home/ec2-user/anaconda3/envs/tensorflow_p36/bin/python