# Cannot import ROOT on Python

**URL:** <https://root-forum.cern.ch/t/cannot-import-root-on-python/40142>\
**Category:** ROOT\
**Created:** [June 30, 2020, 4:17am UTC](https://root-forum.cern.ch/t/cannot-import-root-on-python/40142 "2020-06-30T04:17:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [June 30, 2020, 7:44am UTC](https://root-forum.cern.ch/t/cannot-import-root-on-python/40142/3 "2020-06-30T07:44:25Z")

</div>

> [@ROOT Installs with Python 3.8.2](https://root-forum.cern.ch/t/root-installs-with-python-3-8-2/40044/3):
>
> Try export PYTHONPATH=$(root-config --libdir), and please make sure to use the Python interpreter from Homebrew (i.e. likely from /usr/local/bin and linked somewhere into /usr/local/Cellar).

---

_[View the full topic](https://root-forum.cern.ch/t/cannot-import-root-on-python/40142)._
