nanomsg-python icon indicating copy to clipboard operation
nanomsg-python copied to clipboard

"python setup.py install" has error

Open zhuangchaoxi opened this issue 8 years ago • 1 comments

_nanomsg_cpy/wrapper.c:4:24: fatal error: nanomsg/nn.h: No such file or directory #include <nanomsg/nn.h> ^ compilation terminated.

=============================================================================== WARNING : CPython API extension could not be built.

Exception was : CompileError(DistutilsExecError("command 'gcc' failed with exit status 1",),)

If you need the extensions (they may be faster than alternative on some platforms) check you have a compiler configured with all the necessary headers and libraries.

zhuangchaoxi avatar Apr 27 '17 09:04 zhuangchaoxi

My problem is solved: ln -s /usr/local/nanomsg/include/nanomsg/ /usr/include/nanomsg

zhuangchaoxi avatar Apr 27 '17 10:04 zhuangchaoxi