[zeromq-dev] pyzmq installation error
Aurélien Vallée
vallee.aurelien at gmail.com
Wed Apr 11 14:50:30 CEST 2012
pyzmq needs to link against the zmq library, which should be provided to
the setup.py using the --zmq=/path/to/zmq argument.
PS: use pip -> pip install pyzmq --install-option="--zmq=/path/to/zmq"
On Wed, Apr 11, 2012 at 12:47 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> Hi,
>
> I try to install pyzmq on Mac OS X. But I got the following error.
> Could anybody let me know what to do to fix this error? Thanks!
>
> ~/Downloads$ easy_install pyzmq
> Searching for pyzmq
> Reading http://pypi.python.org/simple/pyzmq/
> Reading http://github.com/zeromq/pyzmq
> Reading http://github.com/zeromq/pyzmq/downloads
> Best match: pyzmq 2.1.11
> Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
> Processing pyzmq-2.1.11.zip
> Running pyzmq-2.1.11/setup.py -q bdist_egg --dist-dir
>
> /var/folders/ok/okxjw3HGEsyvIrMaKBkHhE+++TI/-Tmp-/easy_install-coUJdn/pyzmq-2.1.11/egg-dist-tmp-4L0aZR
> ******************************************
> Configure: Autodetecting ZMQ settings...
> Custom ZMQ dir: None
> detect/vers.c:3:17: error: zmq.h: No such file or directory
> detect/vers.c:3:17: error: zmq.h: No such file or directory
> lipo: can't figure out the architecture type of:
> /var/folders/ok/okxjw3HGEsyvIrMaKBkHhE+++TI/-Tmp-//ccfIEp5K.out
> error: command 'gcc-4.2' failed with exit status 1
> Fatal:
> Failed to compile ZMQ test program. Please check to make sure:
>
> * You have a C compiler installed
> * A development version of Python is installed (including header files)
> * A development version of ZMQ >= 2.1.4 is installed (including
> header files)
> * If ZMQ is not in a default location, supply the argument --zmq=<path>
> * If you did recently install ZMQ to a default location,
> try rebuilding the ld cache with `sudo ldconfig`
> or specify zmq's location with `--zmq=/usr/local`
>
> ******************************************
> error: Setup script exited with 1
>
> --
> Regards,
> Peng
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Aurélien Vallée
+33 6 47 41 70 37
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120411/8ccfbc4f/attachment.htm>
More information about the zeromq-dev
mailing list