polynote
polynote copied to clipboard
binascii.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyFloat_Type
When I try to use pip-installed polars library in polynote I get binascii.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyFloat_Type
Same library runs well locally ( Linux Mint 20.3, python 3.10). I think it has something to do with JEP configuration inside polynote binascii.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyFloat_Type
Python 3.7 is ancient, I usually run python 3.9 or 3.10 in most of my projects. I will try to downgrade to 3.7 or 3.8 and will let you know.
We'd love to provide support for newer Python versions, but unfortunately we don't have the bandwidth to do so.
Please feel free to contribute - as a long time Polynote user it would be great to have your support!
@antonkulaga Can you try this from ipython inside of a virtualenv (similar to what Polynote would be doing)? It looks like the virtualenv might have something to do with it.
Can you also try adding the LD_PRELOAD=
with a path to libpython (as discussed in the jep issue that you linked) when starting polynote? If that helps, we can add that to the startup script.
Hey @antonkulaga! Following up to see if you're still having this issue or had tried Jeremy's advice. If not, we will close this issue. Thanks!