# Jupyter Notebook with ROOT C++ Kernel

**URL:** <https://root-forum.cern.ch/t/jupyter-notebook-with-root-c-kernel/24399>\
**Category:** ROOT\
**Tags:** python, jupyter\
**Created:** [April 11, 2017, 10:24pm UTC](https://root-forum.cern.ch/t/jupyter-notebook-with-root-c-kernel/24399 "2017-04-11T22:24:08Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [April 13, 2017, 2:35pm UTC](https://root-forum.cern.ch/t/jupyter-notebook-with-root-c-kernel/24399/6 "2017-04-13T14:35:27Z")

</div>

The last issue was due to an incompatibility between apple’s python that ROOT was built with and the python version used by Jupyter installed by mac ports.

Recompiling ROOT with the macports Python required setting the following two environment variables to get cmake to complete the configuration:

```auto
export LC_ALL=en_US.UTF-8  
export LANG=en_US.UTF-8

```

I then need to install the metakernel package.

The notebook now starts correctly and was capable of drawing a simple histogram.

---

_[View the full topic](https://root-forum.cern.ch/t/jupyter-notebook-with-root-c-kernel/24399)._
