Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problems in Centos 6.5 #28

Open
jskolovos opened this issue Oct 10, 2014 · 1 comment
Open

Installation problems in Centos 6.5 #28

jskolovos opened this issue Oct 10, 2014 · 1 comment

Comments

@jskolovos
Copy link

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

any ideas ???

would be great to have a "pip install nanomsg".

Thanks in advance

@tonysimpson
Copy link
Owner

Could you try pip uninstalling and re-install the library as you did - what does the install output look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants