Closed swuecho closed 1 year ago
It take me a while to figure out I need example.so
instead of the example.cpython-311-x86_64-linux-gnu.so
, hence the pr.
Nope, that's not the correct solution. You are building with Python 3.11, then running with IPython that's been installed with Python 3.10. If you are lucky, it might work, but it will more likely segfault. You can't use a Python 3.x extension with Python 3.y when $x\ne y$.
You need to either build with 3.10 or load it in 3.11. That's one of the reasons for this extension - to protect against that. (Or you can install a kernel for 3.11 and use that with the existing IPython)
(PS: thank you for the clear description with example of what was happening!)
verified works great with correct python version. my bad! Sorry to bother you.
No problem, glad it works now! :)