-
Notifications
You must be signed in to change notification settings - Fork 136
ImportError undefined symbol: _Py_Dealloc #122
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
Comments
@dgrunwald I've read the comment in issue #87, and realized that |
Figured it out ~ [dependencies.cpython]
version = "0.1"
# Python 2.7
default-features = false
features = ["extension-module-2-7", "python27-sys"]
# Python 3+
# features = "extension-module" |
You could also plumb those into a feature in your own package so building for Python 2.x would be as simple as |
It might be good to mention this in the readme. I ran into this issue as well, and it was a little confusing. |
Hello ~ I'm trying to learn the interface between Rust and Python - but I can't find the solution as to why I can't seem to import my compiled library (even using the code from the rust example).
The below build is from blaze:
If there are any pointers (or a section in a documentation) where I can read and try to figure out the answer, I would appreciate the help 😃
The text was updated successfully, but these errors were encountered: