codon icon indicating copy to clipboard operation
codon copied to clipboard

libpython path/name issue (with solution)

Open uselibrary opened this issue 2 years ago • 1 comments

The codon uses libpython.so as the default python library. However, there is a path/name issue among Linux distributions. For example, Debian (11) uses specific name libpython3.9.so rather than libpython.so. Currently, I set up a soft-link for this issue:

ln -s /usr/lib/x86_64-linux-gnu/libpython3.9.so /usr/lib/x86_64-linux-gnu/libpython.so

uselibrary avatar Dec 13 '22 02:12 uselibrary

You can also set the environment variable CODON_PYTHON to point to the correct shared library (docs):

export CODON_PYTHON=/usr/lib/x86_64-linux-gnu/libpython3.9.so

arshajii avatar Dec 13 '22 04:12 arshajii