日々精進

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

PyCharmでSSH InterpreterのProject Interpreterを設定すると「interpretator python doesn't exist on remote server」エラー

SSHで接続する先のサーバにログインして python~/anaconda3/bin/python を実行するとpythonインタープリタを実行出来るのに、 これらをPython interpreter pathに設定してもだめだった。PyCharmからpythonを実行するときのユーザがec2-userじゃないのかな。。 絶対パスで /home/ec2-user/anaconda3/bin/python のように設定すると直った。