# Help installing Delphes on Mac OS 10.15

**URL:** <https://root-forum.cern.ch/t/help-installing-delphes-on-mac-os-10-15/45259>\
**Category:** ROOT\
**Created:** [June 4, 2021, 9:10pm UTC](https://root-forum.cern.ch/t/help-installing-delphes-on-mac-os-10-15/45259 "2021-06-04T21:10:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Curtin](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/david_curtin/32/26382_2.png) [@David\_Curtin](https://root-forum.cern.ch/u/David_Curtin)\
**Post date:** [June 4, 2021, 9:11pm UTC](https://root-forum.cern.ch/t/help-installing-delphes-on-mac-os-10-15/45259/1 "2021-06-04T21:11:00Z")

</div>

Hi,

I’m trying to use Delphes on my Mac OS 10.15.7 installation. Madgraph5 and pythia8 are installed without problems. I then installed root via the mamba package manager (no apparent problems during install), and then tried to install Delphes by running “install Delphes” within the mg5 prompt. This gave me the compilation error described here

> [@Installing ROOOT with Conda & Delphes](https://root-forum.cern.ch/t/installing-rooot-with-conda-delphes/40487/4):
>
> Good! A proper diagnosis of the problem is [here](https://github.com/conda-forge/root-feedstock/issues/103#issuecomment-661787956), with many compliments to @chrisburr smile

I deleted the VERSION file as indicated but this did not fix the problem. I then tried installing root via homebrew (no apparent problems during install) but the ROOTSYS variable does not get updated to the homebrew version, and if I try and do it manually by adding

export ROOTSYS=/usr/local/Cellar/root/6.22.08\_2  
export PATH=$ROOTSYS/bin:$PATH  
export LD\_LIBRARY\_PATH=$ROOTSYS/lib:$LD\_LIBRARY\_PATH  
export DYLD\_LIBRARY\_PATH=$ROOTSYS/lib:$DYLD\_LIBRARY\_PATH

to my .bashrc and running source .bash\_profile before trying to make Delphes, that does not change anything either (except that instead of accessing the mambaforge version of root the make script now goes to the homebrew one, but the same problem persists).

(I’m not very knowledgeable on bash issues like compiler linking and setting of environmental variables etc, and I hope I have not jumbled things up too badly by installing two root versions with two package managers.)

Does anyone know how I might successfully install root + delphes in Mac OS 10.15.7? Thanks a lot for your help!!

---

<div class="post-metadata">

**Author:** ![David\_Curtin](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/david_curtin/32/26382_2.png) [@David\_Curtin](https://root-forum.cern.ch/u/David_Curtin)\
**Post date:** [June 4, 2021, 10:07pm UTC](https://root-forum.cern.ch/t/help-installing-delphes-on-mac-os-10-15/45259/2 "2021-06-04T22:07:51Z")

</div>

update: this was fixed by using the CERN .pkg root v 6.20 binary  
thanks to Olivier for solving this

> **[Question #697395 : Questions : MadGraph5\_aMC@NLO](https://answers.launchpad.net/mg5amcnlo/+question/697395)**
>
> (Also asking this on root forum https://root-forum.cern.ch/t/help-installing-delphes-on-mac-os-10-15/45259 but wanted to try here as well.)
> 
> Hi,
> 
> I’m trying to use Delphes on my Mac OS 10.15.7 installation. Madgraph5 and pythia8 are installed without...

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [June 18, 2021, 10:08pm UTC](https://root-forum.cern.ch/t/help-installing-delphes-on-mac-os-10-15/45259/3 "2021-06-18T22:08:36Z")

</div>

Closed on June 18, 2021, 10:08pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
