pyo3-built
pyo3-built copied to clipboard
the trait `std::convert::From<pyo3_built::pyo3::PyErr>` is not implemented for `pyo3::PyErr`
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`
Why is this needed? https://github.com/PyO3/pyo3-built/blob/master/src/lib.rs#L8
I think it's causing this error.
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.
No. I'm using 0.7.0 from the index.