# Unable to import ROOT in Python, getting a long error when trying to open ROOT in terminal (macOS Ventura 13.5.2)

**URL:** <https://root-forum.cern.ch/t/unable-to-import-root-in-python-getting-a-long-error-when-trying-to-open-root-in-terminal-macos-ventura-13-5-2/57404>\
**Category:** Newbie\
**Tags:** python, root\
**Created:** [December 5, 2023, 5:12pm UTC](https://root-forum.cern.ch/t/unable-to-import-root-in-python-getting-a-long-error-when-trying-to-open-root-in-terminal-macos-ventura-13-5-2/57404 "2023-12-05T17:12:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mdessole](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mdessole/32/34021_2.png) [@mdessole](https://root-forum.cern.ch/u/mdessole)\
**Post date:** [December 6, 2023, 8:37am UTC](https://root-forum.cern.ch/t/unable-to-import-root-in-python-getting-a-long-error-when-trying-to-open-root-in-terminal-macos-ventura-13-5-2/57404/2 "2023-12-06T08:37:13Z")

</div>

Hi @madisd,  
thanks for reaching out!

So, after a quick search on the forum, it lokks like your issue is not new. [Here]{[Problem running root on macOS 10.13.6: ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!](https://root-forum.cern.ch/t/problem-running-root-on-macos-10-13-6-error-in-cling-createci-cannot-extract-standard-library-include-paths/30139)} the problem was solve by reinstalling ROOT from source instead of using brew.

BTW, can you tell what’s the output of `clang++ -xc++ -E -v /dev/null 2>&1 | sed -n -e ‘/^.include/,${’ -e ‘/^ /.*++/p’ -e ‘}’`?

Cheers,  
Monica

---

_[View the full topic](https://root-forum.cern.ch/t/unable-to-import-root-in-python-getting-a-long-error-when-trying-to-open-root-in-terminal-macos-ventura-13-5-2/57404)._
