# Import ROOT error

**URL:** <https://root-forum.cern.ch/t/import-root-error/14636>\
**Category:** ROOT\
**Created:** [July 25, 2012, 2:15pm UTC](https://root-forum.cern.ch/t/import-root-error/14636 "2012-07-25T14:15:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jmccartin](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/ad7895/32.png) [@jmccartin](https://root-forum.cern.ch/u/jmccartin)\
**Post date:** [July 25, 2012, 2:15pm UTC](https://root-forum.cern.ch/t/import-root-error/14636/1 "2012-07-25T14:15:56Z")

</div>

Hi,

I’m getting a ImportError: No module named ROOT message when I try and run pyROOT, which is also happening in the python interactive mode. I’ve seen many a topic on this, but none of the solutions helped me with my problem. Here are my paths as defined in my bashrc:

export ROOTSYS=/opt/root  
export LD\_LIBRARY\_PATH=$ROOTSYS/lib:$PYTHONDIR/lib:$LD\_LIBRARY\_PATH  
export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH  
export PATH=${PATH}:${ROOTSYS}/bin

I’m running ROOT 5.34/01, Python 2.7.2+, GCC 4.6.1 on Linux Mint/Ubuntu.

I’ve also tried to source $ROOTSYS/bin/thisroot.sh, without any luck. Does anyone have any suggestions on what I might do next to diagnose my problem?

---

_[View the full topic](https://root-forum.cern.ch/t/import-root-error/14636)._
