# \*\*\*Break\*\*\*\* Segmentation violation from importing lhcbStyle

**URL:** <https://root-forum.cern.ch/t/break-segmentation-violation-from-importing-lhcbstyle/52922>\
**Category:** Newbie\
**Tags:** python, root\
**Created:** [December 28, 2022, 5:36pm UTC](https://root-forum.cern.ch/t/break-segmentation-violation-from-importing-lhcbstyle/52922 "2022-12-28T17:36:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carororo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/carororo/32/31991_2.png) [@carororo](https://root-forum.cern.ch/u/carororo)\
**Post date:** [December 28, 2022, 5:36pm UTC](https://root-forum.cern.ch/t/break-segmentation-violation-from-importing-lhcbstyle/52922/1 "2022-12-28T17:36:38Z")

</div>

Hello, I am very new to root and my python code looks like this:

```auto
from gettext import install

import ROOT
from ROOT import RooFit as RF
from array import array
import pip

from lhcbStyle import lhcbStyle, lhcbLatex

```

Whenever I comment out the last line it just gives me this:

```auto
***Break*** segmentation violation
 Generating stack trace...
 ***Break*** segmentation violation
 Generating stack trace...

```

My root version is 6.26/10 and i am using Ubuntu 22.04.1 LTS. I installed root using this tutorial:

[![](https://img.youtube.com/vi/pmfM4Zq6OQU/maxresdefault.jpg "Installing CERN ROOT in Windows with WSL") ](https://www.youtube.com/watch?v=pmfM4Zq6OQU)

---

<div class="post-metadata">

**Author:** ![carororo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/carororo/32/31991_2.png) [@carororo](https://root-forum.cern.ch/u/carororo)\
**Post date:** [December 28, 2022, 5:37pm UTC](https://root-forum.cern.ch/t/break-segmentation-violation-from-importing-lhcbstyle/52922/2 "2022-12-28T17:37:41Z")

</div>

Meant to say “whenever I **don’t** comment out the last line”!

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [December 28, 2022, 6:06pm UTC](https://root-forum.cern.ch/t/break-segmentation-violation-from-importing-lhcbstyle/52922/3 "2022-12-28T18:06:10Z")

</div>

The `lhcbStyle` is not a part of ROOT.
