我最近在我的Ubuntu14.04虚拟机上安装了rpyc,使用:
pip install rpyc我找不到可以用来启动服务器的文件。我去过很多地方,但都没有结果。
发布于 2015-03-07 13:39:08
它只是来自comand行的rpyc_classic.py:
$ rpyc_classic.py
INFO:SLAVE/18812:server started on [0.0.0.0]:18812然后连接:
from rpyc import classic
c = classic.connect("0.0.0.0",port=18812)
print(c.modules.sys.platform)
linux您将在shell中看到连接:
INFO:SLAVE/18812:accepted 127.0.0.1:58217
INFO:SLAVE/18812:welcome [127.0.0.1]:58217示例在pypi文档中。
https://stackoverflow.com/questions/28915386
复制相似问题