r/Python • u/aplavin • Aug 26 '18
Remote Python & IDE workflow?
Hi! I'm looking for a way to use a remote Python interpreter (in my case it's a docker container on another machine) with an IDE like Pycharm or VS Code. In principle, it seems possible using just pycharm "remote interpreter" feature, althrough it requires SSH access into that container which I would prefer not to install if possible. Another major piece I have no idea how to make working is plots. I don't need interactive plots, just jupyter-style static ones will work. This sounds like a quite common usecase, but I couldn't find any help on how to set it up. For now I use jupyterlab running in that docker container, but really miss autocomplete and other stuff offered by IDEs. Any pointers welcome!
View all comments
Show parent comment
3
u/steven_h Aug 26 '18 edited Aug 26 '18
You should install SSHD on the remote host and use PyCharm's integration via that method. It will work the way you want as far as autocompletion and navigation go.
You probably also want to vote for/follow issues like https://youtrack.jetbrains.com/issue/PY-26328 to make the plotting stuff work the way you want.
But of course, JetBrains devs "are morons and need to be protected from bad choices." 🙄