Trying to install bjoern locally and on Heroku fails with the same message, e.g.
$ pip --version
pip 9.0.1 from /path/to/python2.7/site-packages (python 2.7)
$ pip install bjoern
...
bjoern/request.h:4:16: fatal error: ev.h: No such file or directory
...
Failed building wheel for bjoern
Any thoughts?
Full traceback here: http://dpaste.com/1CMTYRF
Do you have libev_devel?
发自我的 iPhone
在 2018年1月19日,07:06,Ryan West notifications@github.com 写道:
Full traceback here: http://dpaste.com/1CMTYRF
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Thanks for the quick comment - yes that seemed to be the issue. Would this requirement make sense to be listed in the installation instructions? I realize that after looking at the error I should have realized it was failing on ev.h and tracked that down, but I appreciate the assistance.
What OS is this? If it's not in the installation instructions feel free to add it.
Just hit this myself on debian, tried installing the files below
apt install libev-dev libevdev2
There does not seem to be anything called libev_devel in debian or ubuntu.
Did this work for you?
I got it working, not sure how doing apt install libev-dev && pip install bjoern works using pip install requirements.txt does not and fails to find the header file.
likely something else happening so i will dig further.
I had the same thing on macOS 10.13.4, had to do:
brew install libev
Then pip install bjoern worked.
Is anyone know how to get it working in Windows. brew install libev and apt install libev-dev libevdev2 is not a valid comment in windows.
Bjoern does not support Windows
Most helpful comment
Just hit this myself on debian, tried installing the files below
There does not seem to be anything called libev_devel in debian or ubuntu.