-
Notifications
You must be signed in to change notification settings - Fork 189
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
WANT_STATSD make all build succeeds, but import doesn't work in python3 #187
Comments
Can you please show the exact commands you are using |
Also try using |
Thanks for your reply! I tried |
I don't understand what you mean by manually copying. Obviously you have to put the files at some place where the Python interpreter can find them, and if you're not starting the interpreter from the bjoern folder it means they have to be somewhere else in PYTHONPATH. |
alright, got it thank you! |
Hi, I managed to build Bjoern using make all (but python setup.py doesn't work as per #185 ) and I had to manually copy the bjoern.py and _bjoern.so files to the python lib directory. Is that supposed to be the case? because when I checked my environment variables, the paths to the files are not added to the PATH
Also, I could start a python2 shell and import bjoern but when I tried using python3, the import fails because of this error:
ImportError: dynamic module does not define module export function (PyInit__bjoern)
Does make all only work for python2?
[Context: I'm building it in docker, using the python:3.7-slim image which is based on Debian]
The text was updated successfully, but these errors were encountered: