Here’s my info.
Root version: v5-34-00-patches
Operating system: mac osx 10.9 (Mavericks)
XCode version: 5.0.1 (latest as of this post)
Root compiled fine. I’ve run “xcode -select --install” just fine (suggested by many previous posts).
I get an error upon importing ROOT in python:
[code]sandbox153:mac davidkaleko$ python
Python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
Traceback (most recent call last):
File “”, line 1, in
File “/Applications/BasicSoftware/root/lib/ROOT.py”, line 257, in
_root.gPad = _ExpandMacroFunction( “TVirtualPad”, “Pad” )
File “/Applications/BasicSoftware/root/lib/ROOT.py”, line 237, in init
c = _root.MakeRootClass( klass )
AttributeError: type object ‘string’ has no attribute ‘c_str’
As shown above, importing ROOT the 2nd time doesn’t cause an error message, and I can draw TCanvas/TPad without a problem.
Still, I don’t feel comfortable with this error message obviously… does anyone have a same issue and/or know a fix? This (along with many other problems) started when I upgraded to Mavericks OS (and updated xcode).