Pyroot setup troubles

http://wlav.web.cern.ch/wlav/pyroot/installation.html I followed the instructions for 3.2 here, putting the lines in my .bash_profile, but when I do
$ echo $PYTHONDiR
Nothing returns. The command works for $ROOTSYS but not for $PYTHONDIR, how do I fix?

Hi,

Where is your Python installation? (i.e. where are you calling Python from?)

Cheers, Bertrand.

I’m not sure what you are trying to do. Do you just have ROOT installed and want to use PyROOT? If that’s the case, simply doing source $ROOTSYS/bin/thisroot.sh should set everything up for you. Please avoid adding anything other than that to your bashrc. If you compiled/installed ROOT with PyROOT for Python 2.7, you will not be able to use it with Python 3.x. You will need to install ROOT with python3=ON in the CMake options. If none of this helps, please let us know what setup you have (e.g. what OS, what version of ROOT, how it was installed, etc). Cheers,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.