cargo builds pyo3 bin with prefix /install, how to update? #5056
Unanswered
ClementWalter
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried to set either PYO3_CROSS_LIB_DIR, PYO3_PYTHON, both from terminal or in my build.rs but I keep having this
/install
as prefix everywhere and consequently my bin not working.I'm using
uv
.my builds.rs looks like
when I run
PYO3_PRINT_CONFIG=1 cargo b -p keth-run
I seeso here I already see this
/install
and I don't know where it comes from.once built, using
otools
I seeif then I try to run, it fails
if I export the DYLD path
export DYLD_LIBRARY_PATH=$HOME/.local/share/uv/python/cpython-3.10.15-macos-aarch64-none/lib
it actually starts but raises and again I see all these
/install
prefixesBeta Was this translation helpful? Give feedback.
All reactions