tonysimpson / nanomsg-python

nanomsg wrapper for python with multiple backends (CPython and ctypes) should support 2/3 and Pypy
MIT License
382 stars 85 forks source link

Could not load the default wrapper #38

Open robvoi opened 9 years ago

robvoi commented 9 years ago

I get the error " UserWarning: Could not load the default wrapper for your platform: cpy, performance may be affected!". Can and should I do something about it?

stereoit commented 9 years ago

Hi, the problem for me was the extension did not compile during python setup install. I needed to install python dev libraries and then it works. Hope it helps.

ryanbahneman commented 8 years ago

Are you in a virtual environment? I found that I could install with my system pip, but using the virtualenv pip failed. I believe it's an include directory issue, but I don't have enough knowledge to fix it.

Like @stereoit said, if you want to use it in a virtualenv, check out the code, build it locally, then pip install the local copy.