Published package shows up under "pip list" but will give a "ModuleNotFoundError" when imported #1116
-
I created a project, it is uploaded on Pypi under the name punge-backend. All of the code, cargo.toml, and pyproject.toml is here. This is most definitively user error, but I cannot find any part that is wrong. -The module shows up on "pip list" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
https://pyo3.rs/v0.17.1/module.html
This should be #[pymodule]
fn punge_backend(_py: Python, m: &PyModule) -> PyResult<()> { |
Beta Was this translation helpful? Give feedback.
https://pyo3.rs/v0.17.1/module.html
https://github.com/nednoodlehead/punge/blob/e4bcfdd59717ee4b55c27b119122250804b83b96/rust/src/lib.rs#L113-L114
This should be