I follow the usual installation with setup.py:
python3 setup.py build_ext --include-dirs /usr/local/include --library-dirs=/usr/local/lib/
python3 setup.py install
but when I do import nanomsg I get:
import nanomsg
./nanomsg_wrappers/init.py:22: UserWarning: Could not load the default wrapper for your platform: cpy, performance may be affected!
"%s, performance may be affected!") % (default,))
Traceback (most recent call last):
File "", line 1, in
File "./nanomsg/init.py", line 7, in
from . import wrapper
File "./nanomsg/wrapper.py", line 4, in
_wrapper = _load_wrapper()
File "./nanomsg_wrappers/init.py", line 23, in load_wrapper
return importlib.import_module('_nanomsg_ctypes')
File "/usr/lib64/python3.3/importlib/init.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "./_nanomsg_ctypes/init.py", line 13, in
_lib = ctypes.cdll.LoadLibrary('libnanomsg.so')
File "/usr/lib64/python3.3/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/usr/lib64/python3.3/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libnanomsg.so: cannot open shared object file: No such file or directory
I follow the usual installation with setup.py: python3 setup.py build_ext --include-dirs /usr/local/include --library-dirs=/usr/local/lib/ python3 setup.py install
but when I do import nanomsg I get:
any ideas ???
would be great to have a "pip install nanomsg".
Thanks in advance