fusion-engineering / inline-python

Inline Python code directly in your Rust code
https://docs.rs/inline-python
BSD 2-Clause "Simplified" License
1.15k stars 37 forks source link

Dependency on libpython3.7m.so #14

Closed Recognition2 closed 4 years ago

Recognition2 commented 4 years ago

Recently python 3.8 has been released. After updating my system, python3.7 is no longer available, as can be expected. Is there a hard dependency on python3.7? The file libpython3.7m.so no longer exists on the system. image

I'm currently running Archlinux with python3.8 and inline-python 0.3.2.

de-vri-es commented 4 years ago

The dependency on libpython is handled by pyo3. But my guess is that you may just need to rebuild after the update. Could you try a cargo clean && cargo build, see if that helps?

de-vri-es commented 4 years ago

I can build on Arch Linux with python 3.8, so I'm assuming a cargo clean would fix the problem. If not, and the problem still persists, please comment here I'll re-open the issue :)

Recognition2 commented 4 years ago

Yup this works, apologies for crying wolf and thanks for the help!