Eclipse PyDev使用远程解释器 [英] Eclipse PyDev use remote interpreter

查看:426
本文介绍了Eclipse PyDev使用远程解释器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使eclipse PyDev使用远程Python解释器?



我想这样做,因为我要连接的Linux服务器有几个我的脚本使用的优化解算器(CPLEX,GUROBI等)运行。



目前我在本地使用eclipse编写脚本,然后将所有文件复制到远程机器,使用ssh登录并使用python script.py执行脚本。
相反,我希望单击运行按钮,只需在我的eclipse IDE中执行所有操作。



谢谢

解决方案

不幸的是您可以通过远程系统资源管理器(RSE)远程连接到您的Linux服务器。但不能将其用作远程解释器。我使用Pycharm。您可以使用免费的社区版或专业版,您必须为此付费。这不是那么贵,对我来说一直很好。


is there a posibility to make eclipse PyDev use a remote Python interpreter?

I would like to do this, as the Linux Server I want to connect to has several optimization solvers (CPLEX, GUROBI etc.) running, that my script uses.

Currently I use eclipse locally to write the scripts, then copy all the files to the remote machine, log in using ssh and execute the scripts there with "python script.py". Instead I hope to click the "run" button and just have everything executed within my eclipse IDE.

Thanks

解决方案

Unfortunately no. You can remotely connect to your Linux server via Remote System Explorer (RSE). But can't use it as a remote interpreter. I use Pycharm. You can use the free Community Edition or the Professional Edition for which you have to pay for it. It is not that expensive and it has been working great for me.

这篇关于Eclipse PyDev使用远程解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆