Re: [Pydev-code] running a remote interactive interpreter session from pydev
Brought to you by:
fabioz
From: Kelson Z. <kb...@co...> - 2017-08-16 21:01:24
|
Hi Fabio - Thanks for the suggestion. I tried what you suggested, but when I try to add my shell script as an interpreter in the preferences dialogue pydev complains ‘Unable to get info on the interpreter … common reasons include specifying an invalid interpreter (usually a link to the actual interpreter on Mac or Linux)’. It seems it needs to access the actual interpreter files and not just run the interpreter. Thoughts? Kelson > On Aug 14, 2017, at 7:35 AM, Fabio Zadrozny <fa...@gm...> wrote: > > Hi Kelson, > > I must say that I haven't really tested this... in theory you could create a python interpreter which is a shell script which would then run a python over ssh and with a partition created with sshfs, things should work (just make sure that the partition locally maps to the same path remotely) -- although I must say I haven't really tested this setup myself -- so, if you do go that route, it'd be nice to hear your experience later on ;) > > There are plans to actually improve the remote development scenario on PyDev (with a remote interpreter supported by default), but I haven't been able to make time for it so far... maybe I'll create a crowdfunding for that so that users can help me get the needed time ;) > > Cheers, > > Fabio > > On Fri, Aug 11, 2017 at 10:39 AM, Kelson Zawack <kb...@co... <mailto:kb...@co...>> wrote: > I use Pydev for scientific computing and really like it. One problem I have is I would like to use it to run analyses on a server. My plan was to use ipython’s ability to run shell commands to ssh to the server and then launch an ipython session there. It seems that while the interactive interpreter can run the ssh just fine it isn’t able to pick up the remote terminal session that gets started. Any suggestions? > > Thanks > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot> > _______________________________________________ > pydev-code mailing list > pyd...@li... <mailto:pyd...@li...> > https://lists.sourceforge.net/lists/listinfo/pydev-code <https://lists.sourceforge.net/lists/listinfo/pydev-code> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code |