Hi,

>> 
>> the only thing I saw was something about the libPyROOT module not available 
>> in root5, and I am just waiting to finish the installation to see if I have 
>> the same problem and then sending another cry for help! ;-)
> 
> PyROOT is available if you install with one of the (non default in root5) 
> python variants. See
> 
>  > port variants root5
> 
> for details.

Note though, python support in ROOT is built against the *MacPorts* python 
version you select. Note the system one. So you need to run then to get access 
to PyROOT. Either explicitly, e.g.

MacBookPro ~ > which python2.7
/opt/local/bin/python2.7
MacBookPro ~ > python2.7
Python 2.7.8 (default, Jul  3 2014, 06:13:58) 
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
>>> 

or if you prefer, use port select to make the MacPorts python your default

> MacBookPro ~ > sudo port select python python27
> Selecting 'python27' for 'python' succeeded. 'python27' is now active.
> MacBookPro ~ > python
> Python 2.7.8 (default, Jul  3 2014, 06:13:58) 
> [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ROOT
> >>> 

Chris


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to