如何与signalr通信,而不必使用node.js或其他非Python依赖项?
例如,如何连接到以下websocket:https://github.com/ericsomdahl/python-bittrex/issues/57#issuecomment-343772197
运行上述示例中的代码将得到以下结果:
OSError: Missing Node.js runtime. Node is required. Please read the cfscrape
README's Dependencies section: https://github.com/Anorov/cloudflare-scrape#dependencies.同样,来自python的signalr-client的以下示例应用程序有许多非python依赖项:https://github.com/TargetProcess/signalr-client-py#sample-application
如何在不需要安装任何非python依赖项的情况下与signalr连接和通信?
发布于 2018-06-28 13:18:09
您链接到的示例应用程序是一个示例signalr服务器,这样python就有了一些可交谈的东西--如果您已经有了signalr服务,则不需要在您的python程序中构建或运行那个(.net)应用程序来使用客户机。请参阅需求文件:https://github.com/TargetProcess/signalr-client-py/blob/develop/requirements。只有Python!
https://stackoverflow.com/questions/49524210
复制相似问题