redhat 安装 ZeroMQ, pyzmq 错误解…

来源:互联网 发布:python微信自定义菜单 编辑:程序博客网 时间:2024/05/17 22:51

redhat 安装 ZeroMQ, pyzmq 错误:

 Failed to run ZMQ testprogram.  Please check to make sure:

    You have a Ccompiler installed
    Adevelopment version of Python is installed (including headerfiles)
    Adevelopment version of ZMQ >= 2.1.4 is installed(including header files)
    If ZMQ isnot in a default location, supply the argument--zmq=<path>
    If you didrecently install ZMQ to a default location,
     try rebuilding the ld cache with `sudo ldconfig`
     or specify zmq's location with `--zmq=/usr/local`

解决方法:

安装ZeroMQ所需组件及工具:

yum install gcc

yum install gcc-c++

yum install make

yum install uuid-devel

yum installlibuuid-devel

再次安装 ZeroMQ, pyzmq 就OK了。

 

参考文章:http://blog.csdn.net/daihui05/article/details/7458831

原创粉丝点击