Closed cardigan1008 closed 3 months ago
This looks caused by numpy
crate, which does not support PyO3 0.22 yet. It is required from pyo3-stub-gen
with numpy
feature which is enabled by default. Please try following:
pyo3-stub-gen = { version = "0.6.0", default-features = false }
This looks caused by
numpy
crate, which does not support PyO3 0.22 yet. It is required frompyo3-stub-gen
withnumpy
feature which is enabled by default. Please try following:pyo3-stub-gen = { version = "0.6.0", default-features = false }
Thanks for your prompt response. It works :)
In my project, I include pyo3 0.22.0 like this:
I also include pyo3-stub-gen and pyo3-stub-gen-derive 0.6.0 like this:
When I run cargo build, it turns out that the building process terminated because of version conflicts:
My project relies on pyo3 0.22.0 and I tried to change the version to 0.21.2 etc. as the error mentioned. However, some features are missing. So is there any solution to deal with this conflict?