pyo3-built icon indicating copy to clipboard operation
pyo3-built copied to clipboard

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

Open thedrow opened this issue 6 years ago • 3 comments

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 avatar Jun 13 '19 11:06 thedrow

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

I think it's causing this error.

thedrow avatar Jun 13 '19 11:06 thedrow

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.

althonos avatar Jun 13 '19 17:06 althonos

No. I'm using 0.7.0 from the index.

thedrow avatar Jun 15 '19 15:06 thedrow