2. Getting Started¶
2.1. Try rootpy on CERN’s LXPLUS¶
First, set up ROOT:
source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5/setup.sh &&\
cd /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.00/x86_64-slc5-gcc43-opt/root &&\
source bin/thisroot.sh &&\
cd -
Then, create and activate a virtualenv (change my_env at your will):
virtualenv my_env # necessary only the first time
source my_env/bin/activate
Get the latest source:
git clone https://github.com/rootpy/rootpy.git
and install it:
~/my_env/bin/python rootpy/setup.py install
Note that neither sudo nor –user is used, because we are in a virtualenv.
rootpy should now be ready to use:
python
>>> import rootpy
2.2. Have Questions or Found a Bug?¶
Post your questions on stackoverflow.com
and use the tag rootpy
.
Think you found a bug? Open a new issue here: github.com/rootpy/rootpy/issues.
Also feel free to post questions or follow discussion on the rootpy-users or rootpy-dev Google groups.