Open on46zohu opened 1 year ago
It works fine for me. I'll need more information to help - how exactly can I reproduce your error, and what package versions do you have installed?
What I only did was to try "from juliacall import Main as jl, convert as jlconvert" in an empty Jupyter python3 notebook. (also tried import juliacall).
And this is the output of !pip list : python 3.7.14 julia 0.5.7 juliacall 0.9.12 juliapkg 0.1.10 jupyter 1.0.0 jupyter_client 7.3.5 jupyter-console 6.4.4 jupyter-core 4.11.1 jupyterlab-pygments 0.2.2 jupyterlab-widgets 3.0.3
Do you get any errors in the Jupyter output in the terminal?
Do you also get errors if you run the same commands from the ordinary python
prompt in the terminal?
I am working on a local Jupyter server environment, so I do not have access to Jupyter output in the terminal. When I try it in the python3 directly, it works without any issue. But, in jupyter server, the kernel dies.
This issue has been marked as stale because it has been open for 30 days with no activity. If the issue is still relevant then please leave a comment, or else it will be closed in 7 days.
This issue has been closed because it has been stale for 7 days. You can re-open it if it is still relevant.
Hi @cjdoris , I have been running juliacall
in a Jupyter notebook and ran into a very similar issue. We eventually figured out the cause was a messed up conda
environment. Basically, we have EnvA
(the default) and EnvB
. juliacall
needs GLIBCXX_3.4.26
, but this library was installed in EnvA
but not in EnvB
. The Jupyter kernel.json
is missing a conda activate EnvB
so libjulia
can't find the glibc it needs.
Whenever I tried to call juliacall in a ipython Jupyter notebook, I face the issue below:
The kernel appears to have died. It will restart automatically.
Is there any solution for it?