You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OSError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /PATH/TO/julia-1.0.2/bin/../lib/julia/libLLVM-6.0.so)
when using PyJulia via Jupyter (ipykernel), you can workaround the issue by using the LD_PRELOAD trick. For example, edit your ~/.local/share/jupyter/kernels/*/kernel.json like this:
Once LibJulia low-level C API #199 is implemented, we can make sure to dlopen libjulia.so without initializing PyJulia (Julia runtime + PyCall). This would be relatively quick to execute. We can then have a CLI entry point (say) julia.python_with_libjulia so that ipykernel can be used via python -m julia.python_with_libjulia -m ipykernel_launcher ....
In case you get an error like this
when using PyJulia via Jupyter (ipykernel), you can workaround the issue by using the
LD_PRELOAD
trick. For example, edit your~/.local/share/jupyter/kernels/*/kernel.json
like this:Maybe it's better to have a helper command for executing a subprocess with appropriate
LD_PRELOAD
(orLD_LIBRARY_PATH
)?The text was updated successfully, but these errors were encountered: