Equivalent of "source activate" for remote SSH

Hi,

Thank you in advance for any help.

I have my PyCharm configured for remote SSH, and Path bindings set up between local and remote machine. I have the proper python selected in Preferences>Project>Project Interpreter. However, when I run scripts normally by SSH'ing via bash, I need to specify 

source activate <source>

I have added this statement to my .bashrc, and it seems to be executed via PyCharm remote SSH. However, this seems rather clumsy, as all SSH login events now trigger this source activation. Is there a PyCharm-project-specific .bashrc file I can specify somehow? I've seen discussion of .pycharmrc, but this seems to be for an older version (?). I don't know where to specify this in PyCharm 2017.2.1.

I'm a bit overwhelmed searching for an answer here, so any tips would be greatly appreciated!

0

Please sign in to leave a comment.