Persistent Remote Python Interpreter

Answered

Hi there!

 

I'd like to ask if it's possible to setup a persistent remote python interpreter using PyCharm.

 

At my current stage, I've setup a remote virtualenv on my server and I access it through SSH credentials. That's a really great feature of PyCharm. 

However, one challenge I'm facing is that everytime I turn off PyCharm / my laptop (I'm using a MacBook late 2014), the session is killed. This means that I can't run jobs overnight and leave the premise or allow the project to work headless.

Is there a way to set this up? I'm not really familiar as to what this problem / idea is so I thought it was something along the line of a persistent remote python interpreter.

 

Thanks a lot for the help!

4 comments
Comment actions Permalink

Hello,

We have similar request on YouTrack: https://youtrack.jetbrains.com/issue/PY-25514. Feel free to vote for it and add your suggestions in comments.

0
Comment actions Permalink

Hi Yaroslav,

 

Thanks, I've also voted for the solution. Is there a way to connect to a jupyter server instead then to keep the session running? Would that be a viable solution?

0
Comment actions Permalink

> This feature is under development: https://youtrack.jetbrains.com/issue/PY-26328
This allows a possible workaround, but this is not the same thing as a persistent remote interpreter. However, the first ticket mentioned (https://youtrack.jetbrains.com/issue/PY-25514) is relevant.

0

Please sign in to leave a comment.