I had the same problem just a minute ago, but I was able to solve it. I performed:
$ jupyter kernelspec install
directly from /home/ubuntu_user/cling_ubuntu/share/cling/Jupyter/kernel
.
The installation was successful, I went to my working directory and named jupyter notebook; It opened normally, but the core died immediately.
I thought the problem was that I should install cling from where I will call the laptop jupyter, and I did this:
After removing the kernel (also from /home/ubuntu_user/cling_ubuntu/share/cling/Jupyter/kernel
) with
jupyter kernelspec uninstall cling-cpp11
I repeated the entire installation process:
Suppose you usually call jupiter from /home/ubuntu_user
and you have your cling repository here
/home/ubuntu_user/cling_ubuntu.
Then:
- Go there:
$ cd /home/ubuntu_user
$ source activate my_env
(I work with Anaconda, so I activated my environment)$ export PATH=/home/ubuntu_user/cling_ubuntu/bin:$PATH
$ cd cling_ubuntu/share/cling/Jupyter/kernel/cling-cpp11
$ pip install -e.
Here you should go to your future working directory.
$ cd /home/ubuntu_user
, type:
$ jupyter kernelspec install --user cling_ubuntu/share/cling/Jupyter/kernel/cling-cpp11
.. and the kernel is still alive and working fine.
Fauna source share