Open tannn opened 6 years ago
Do you have nanomsg installed, including the headers? This code is effectively erroring out because it can't find the include
directory for nanomsg. In this case, it looks like you're installing on macOS? By default the code looks for /usr/include/nanomsg/
and /usr/local/include/nanomsg
, so if your nanomsg headers live somewhere else you have to customize something.
the problem has been resolved? how?
I have solved the problem installing manually the nanomsg library from https://github.com/nanomsg/nanomsg. First I clone the repository into the /usr/local/include and then I ran the command specified in the github. After that I could install the nnpy library.
I run into the same problem on my raspberry pi zero setup as a mozilla-iot gateway. I tried to install nanomsg via the following comands, which were suggested somewhere on the internet did not work: sudo apt install libffi-dev libnanomsg4 libnanomsg-dev aso (Error message: Unable to locate package libnanomsg4) The steps describeded by sebitas0623 worked for me. Thanks a lot.
When trying to install nnpy via pip3 or pip, we ran into this error:
We saw issue #52, which has a similar error, except we have tried to install on macOS, Ubuntu, and Windows 10. Each time we received this same error.
Any help would be appreciated.