# Using tmva on mac os sierra

**URL:** <https://root-forum.cern.ch/t/using-tmva-on-mac-os-sierra/25167>\
**Category:** TMVA\
**Created:** [June 17, 2017, 4:16am UTC](https://root-forum.cern.ch/t/using-tmva-on-mac-os-sierra/25167 "2017-06-17T04:16:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny\_Lee](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/45deac/32.png) [@Danny\_Lee](https://root-forum.cern.ch/u/Danny_Lee)\
**Post date:** [June 17, 2017, 4:16am UTC](https://root-forum.cern.ch/t/using-tmva-on-mac-os-sierra/25167/1 "2017-06-17T04:16:54Z")

</div>

Hi, I am attempting to learn tmva so I trying to run the examples in the `$ROOTSYS/tutorials/tmva`.

I could get classification and regression example run on my desktop which is CentOS with ROOT 6 installed so that was no problem.

However when I tried this on Mac OS Sierra which also using the same ROOT 6(v6.08). I get this error

```auto
Error in <TApplication::ExecuteFile>: macro TMVAClassification.C not found in path /tmva/test

```

which I believe it had something to do with my `.rootrc`.

I supposed the solution would be that redirect the path in `.rootrc` so it function properly. I am not exactly sure where it should be redirected though so any tips/advice are appreciated.

---

<div class="post-metadata">

**Author:** ![Danny\_Lee](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/45deac/32.png) [@Danny\_Lee](https://root-forum.cern.ch/u/Danny_Lee)\
**Post date:** [June 18, 2017, 3:12pm UTC](https://root-forum.cern.ch/t/using-tmva-on-mac-os-sierra/25167/2 "2017-06-18T15:12:43Z")

</div>

So I tried to run some other examples in the tutorials. I faced the same problem that the macro not found in path /tmva/test. I am bit lost here what to do.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [June 18, 2017, 3:18pm UTC](https://root-forum.cern.ch/t/using-tmva-on-mac-os-sierra/25167/3 "2017-06-18T15:18:05Z")

</div>

Try:  
root-config --has-tmva  
root-config --features
