# Install root and pyroot under MacOS Monterey

**URL:** <https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934>\
**Category:** Newbie\
**Tags:** python\
**Created:** [December 3, 2021, 7:11pm UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934 "2021-12-03T19:11:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.slim](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@j.slim](https://root-forum.cern.ch/u/j.slim)\
**Post date:** [December 3, 2021, 7:11pm UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934/1 "2021-12-03T19:11:29Z")

</div>

I just want want to install root on MacOS Monterey with python support, i.e. I want to use pyROOT.

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [December 6, 2021, 9:49am UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934/2 "2021-12-06T09:49:04Z")

</div>

Hi,  
I don’t think we have pre-compiled ROOT binary for MacOS 12 (Monterey). You should probably build from source, after installing the command line tools from Xcode, see [Dependencies - ROOT](https://root.cern/install/dependencies/#macos).  
Somebody else might know more, I have not yet installed MacOS 12 on my machine.

Cheers

Lorenzo

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [December 21, 2021, 12:57pm UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934/3 "2021-12-21T12:57:14Z")

</div>

Hi,  
for anyone ending up here, you can also install ROOT on Monterey via conda or brew, see [Installing ROOT - ROOT](https://root.cern/install) .

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![j.slim](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@j.slim](https://root-forum.cern.ch/u/j.slim)\
**Post date:** [December 22, 2021, 9:49am UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934/4 "2021-12-22T09:49:30Z")

</div>

Many thanks, I installed ROOT using Macports. It works fine. It is compatible with Python 3.10.

Cheers  
Jamal

---

<div class="post-metadata">

**Author:** ![gothman](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/ac91a4/32.png) [@gothman](https://root-forum.cern.ch/u/gothman)\
**Post date:** [January 4, 2022, 4:11pm UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934/6 "2022-01-04T16:11:43Z")

</div>

I think this is still not 100% working, unfortunately.  
After trying the workarounds involving downgrading to XCode 13.0, I can get ROOT installation working with Homebrew, but there is still no PyROOT.

---

<div class="post-metadata">

**Author:** ![gothman](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/ac91a4/32.png) [@gothman](https://root-forum.cern.ch/u/gothman)\
**Post date:** [January 4, 2022, 4:12pm UTC](https://root-forum.cern.ch/t/install-root-and-pyroot-under-macos-monterey/47934/7 "2022-01-04T16:12:32Z")

</div>

(This is with macOS Monterey and Apple M1 chip)
