symbol not found in flat namespace '_PyBaseObject_Type' when doing cargo bench #4880
Unanswered
andresliszt
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I open this as a question, I don't think it's a bug and should be something I'm doing wrong. I have a project with
pyo3
andcargo build
,cargo test
and also calling my rust function from python are working ok. My problem is when I docargo bench
to run some benches with criterion, so I think the binary that runs my benchmark code, which invokes the Rust code with pyo3 needs to findlibpython
and is not being found properly. I've read about some env varsDYLD_LIBRARY_PATH
that must point to my current virtual env, but it doesn't work for me. If this is a common issue would be very nice if you can provide me some linked issues.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions