Skip to content
Discussion options

You must be logged in to vote

I think you are looking at the guide for the main branch as indicated by your link but build against a released version of PyO3, probably 0.18.3? Py::get was merged only recently and is not yet part of a released version.

You can either read the guide for the released version at e.g. https://pyo3.rs/v0.18.3/class.html or build against the main branch using a Git dependency like

pyo3 = { git = "https://github.com/PyO3/pyo3.git" }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@adamreichold

This comment has been hidden.

@psvri
Comment options

Answer selected by psvri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants