-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Segmentation fault when importing osmium and torch #123
Comments
https://uwekorn.com/2019/09/15/how-we-build-apache-arrows-manylinux-wheels.html describes the issue in detail and also the solution. It comes down to restricting the exported symbols. |
Digging more into this: torch is heavily exporting all kinds of stuff from the stdlibc++, pyosmium doesn't export any symbols. So maybe the symbols are not the issue. pybind/pybind11#1262 mentions that two modules using pybind11 might clash. For that issue an update to pybind11 2.4 would help. The latest release is still shipped with 2.3. |
Fixed with manylinux2010 binary wheels. Please be aware that a recent version of pip is needed. The version shipped with Ubuntu is too old. |
Running
causes
I'm running Ubuntu 18.04 with miniconda.
pip list
shows me that I'm using osmium 2.15.3 and torch 1.3.1.The text was updated successfully, but these errors were encountered: