NetLogo / Python-Extension

Python extension for NetLogo
26 stars 16 forks source link

Remote host/interpreter support #3

Open LaCuneta opened 5 years ago

LaCuneta commented 5 years ago

Copied from (with more discussion at): https://github.com/qiemem/PythonExtension/issues/3

Bash on Ubuntu on Windows (AKA Windows Subsystem Linux, AKA WSL) is really cool. However, because it is a sub system, Windows cannot access the Python binaries in WSL. And consequently, the NetLogo python extension won't be able to run them.

JetBrain's PyCharm solves this in their Windows GUI version by allowing people to connect to a remote SSH host that is then run on WSL. All code is sent to WSL via SSH, compiled, run, and values returned. It works beautifully and seamlessly.

Do you have any idea how difficult it would be to implement a similar feature in the extension?

Edit: I wouldn't know where to look for their implementation, but here is how to set it all up. Maybe that will give you a sense of how it works behind the scene: https://www.jetbrains.com/help/pycharm/2016.3/configuring-remote-interpreters-via-wsl.html

arthurhjorth commented 4 years ago

I read this, and thought "wow, what a great suggestion. I wonder who suggested this."