Skip to content
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

the trait std::convert::From<pyo3_built::pyo3::PyErr> is not implemented for pyo3::PyErr #10

Open
thedrow opened this issue Jun 13, 2019 · 3 comments

Comments

@thedrow
Copy link

thedrow commented Jun 13, 2019

It seems that something is wrong with the macro since it uses pyo3 from this crate instead of my own crate.

I followed the instructions but I got the following error repeatedly:

the trait `std::convert::From<pyo3_built::pyo3::PyErr>` is not implemented for `pyo3::PyErr`
@thedrow
Copy link
Author

thedrow commented Jun 13, 2019

Why is this needed?
https://github.com/PyO3/pyo3-built/blob/master/src/lib.rs#L8

I think it's causing this error.

@althonos
Copy link
Member

Are you using the git version of pyo3 ? I suspect this is coming from a version mismatch between the pyo3 used in pyo3-built and the pyo3 used in the library you're building.

@thedrow
Copy link
Author

thedrow commented Jun 15, 2019

No. I'm using 0.7.0 from the index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants