OSError: wrong ELF class - while trying to use julia.magic in Jupyter in Ubuntu 18.04

Hi there,

Not sure if this is the best place to post a question like this, please let me know if there’s a better place.

For Ubuntu 18.04, in a Jupyter python notebook, I’m trying to run

%load_ext julia.magic

The error I receive is

OSError: /snap/julia/13/bin/../lib/libjulia.so.1: wrong ELF class: ELFCLASS32

IJulia works in a Jupyter notebook with an IJulia kernel and the Julia command line also works outside of Jupyter Lab.

How can I troubleshoot this?