Conda ROOT and Jupyter notebook

Hi all,

I’m having the same issue as reported in these two previous posts (Importing ROOT in Jupyter Notebook with Python3, Problem Using Jupyter Notebook with conda built PyROOT) but I’m still confused about how to fix it.

I noticed there is a patch (https://sft.its.cern.ch/jira/browse/ROOT-10884) that solves the issue, but I really don’t know how to install it.

Any suggestion is more than welcome! Thanks a lot,
Sebastian


Please read tips for efficient and successful posting and posting code

ROOT Version: 6.22/00
Platform: MacOS Catalina
Compiler: Clang 10.0.0


If you don’t have to use ROOT 6.22 you can fix the problem by downgrading to 6.20 so just write root=6.20 in your conda create line and it should be able to import successfully in jupyter notebook. I had the same problem and this fixed it. It was pointed out to me that it was a regression problem with the newest version of ROOT and a bug report was filed.

Thank you so much, I did it and it is working!