Skip to content
Snippets Groups Projects
user avatar
Enric Tejedor Saavedra authored
We need to make sure the ROOT C++ kernel of Jupyter runs with the
same Python version that ROOT was built with.

Since running the kernel with a particular Python installation
cannot be enforced by the user by setting the $PATH variable
(Jupyter ignores that variable and picks Python from the
system), we need to enforce it from the kernel file.

We can't define a full path to the right Python binary in the
kernel.json file because that path could be different in the machine
where ROOT is built and the machine where the C++ kernel runs.
The best we can do is include the major and minor version in
the kernel.json file, so that we make sure the kernel is not
executed with an incompatible version, which would likely lead
to a crash.
7b605073
History
Name Last commit Last update
..