# pyRoot on OS X Maverick

**URL:** <https://root-forum.cern.ch/t/pyroot-on-os-x-maverick/16820>\
**Category:** ROOT\
**Created:** [October 29, 2013, 7:32pm UTC](https://root-forum.cern.ch/t/pyroot-on-os-x-maverick/16820 "2013-10-29T19:32:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![marktobin1976](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/d07c76/32.png) [@marktobin1976](https://root-forum.cern.ch/u/marktobin1976)\
**Post date:** [October 29, 2013, 7:32pm UTC](https://root-forum.cern.ch/t/pyroot-on-os-x-maverick/16820/1 "2013-10-29T19:32:10Z")

</div>

Hello, I managed to compile / install a version on root on OS X Maverick with the following steps:

```auto
git clone http://root.cern.ch/git/root.git temp/ROOT
cd temp/ROOT/
git checkout -t origin/v5-34-00-patches
./configure --all
make
. bin/thisroot.sh 
```

The installation seems to work. However, when I try

```auto

```

I get the following error:

```auto
>>> import ROOT
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/tobin/temp/ROOT/lib/ROOT.py", line 257, in <module>
    _root.gPad = _ExpandMacroFunction( "TVirtualPad", "Pad" )
  File "/Users/tobin/temp/ROOT/lib/ROOT.py", line 237, in __init__
    c = _root.MakeRootClass( klass )
AttributeError: type object 'string' has no attribute 'c_str'
```

The following, however, works fine:

```auto

```

Do you know why?

Thanks,  
Mark

---

_[View the full topic](https://root-forum.cern.ch/t/pyroot-on-os-x-maverick/16820)._
