# Kernel dies in jupyter notebook when I try to import root\_pandas

**URL:** <https://root-forum.cern.ch/t/kernel-dies-in-jupyter-notebook-when-i-try-to-import-root-pandas/57697>\
**Category:** Newbie\
**Created:** [December 28, 2023, 1:00pm UTC](https://root-forum.cern.ch/t/kernel-dies-in-jupyter-notebook-when-i-try-to-import-root-pandas/57697 "2023-12-28T13:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikas\_Raj](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vikas_raj/32/34682_2.png) [@Vikas\_Raj](https://root-forum.cern.ch/u/Vikas_Raj)\
**Post date:** [December 28, 2023, 1:00pm UTC](https://root-forum.cern.ch/t/kernel-dies-in-jupyter-notebook-when-i-try-to-import-root-pandas/57697/1 "2023-12-28T13:00:56Z")

</div>

Hello Everyone,

I want to use root\_pandas with Python via Jupyter Notebook/Lab.  
When I try to import root\_pandas via Jupyter Notebook ,it results in a dead kernel.

Are there any alternatives for this. I am using miniconda!

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [December 28, 2023, 3:15pm UTC](https://root-forum.cern.ch/t/kernel-dies-in-jupyter-notebook-when-i-try-to-import-root-pandas/57697/2 "2023-12-28T15:15:10Z")

</div>

Hi,

Sorry to hear your kernels die, but perhaps this is due to the fact that `root_pandas` is not supported any more.

And yes, there are alternatives to this 🙂 : RDataFrame allows to interoperate with Python quite smoothly!

Could you perhaps describe what you are trying to accomplish?

Best,  
D

---

<div class="post-metadata">

**Author:** ![Vikas\_Raj](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vikas_raj/32/34682_2.png) [@Vikas\_Raj](https://root-forum.cern.ch/u/Vikas_Raj)\
**Post date:** [December 28, 2023, 4:18pm UTC](https://root-forum.cern.ch/t/kernel-dies-in-jupyter-notebook-when-i-try-to-import-root-pandas/57697/3 "2023-12-28T16:18:43Z")

</div>

I was trying to use pandas for plotting using matplotlib in jupyternotebook

I have now come to realize that it dies when I try and import ROOT too!  
I don’t what know happened, as this was working perfectly the other day!  
But now as soon as the root\_pandas thing came up, import ROOT also fails!

I have tried uninstalling and reinstalling miniconda and all relevant packages but the problem still persists! 😢

Is there a way I may know what versions of these packages are well ‘compatible’ with one another  
: jupyter, root, numpy, matplotlib, python, ROOT etc!?

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [December 28, 2023, 8:37pm UTC](https://root-forum.cern.ch/t/kernel-dies-in-jupyter-notebook-when-i-try-to-import-root-pandas/57697/4 "2023-12-28T20:37:02Z")

</div>

Hi,

This looks like a misconfiguration on your system, perhaps are you mixing environments (e.g. Python versions)?  
If you want to install ROOT from Conda please refer to [Installing ROOT - ROOT](https://root.cern/install/#conda) .

I hope this helps,  
D
