我的机器上安装了zmq版本4.1.3和pyzmq版本15.2.0 (我假设是通过pip安装的,但我现在不记得了)。我需要连接到UDP epgm套接字,但收到错误消息"protocol not supported“。我在互联网上进行了大量的搜索,找到了答案:"build zero mq with --with-pgm option“。
有人知道怎么做吗?
我搜索了整个硬盘,在我的setup.py目录中的pkgs中找到了zeromq库,还找到了一些.so文件,但我没有看到任何可以使用神秘的--with-pgm选项重新编译的zeromq或任何东西。
发布于 2017-08-03 17:11:13
以下是适用于我的一般过程:
tar zxvf zeromq-4.1.5.tar.gzcd zeromq-4.1.5apt-get install libpgm-dev./configure --with-pgm && make && make installpip install --no-binary :all: pyzmq然后,您可以根据需要使用pgm/epgm。
https://stackoverflow.com/questions/37177322
复制相似问题