What is the reason for that preference? Without setting PYTHONPATH, the ROOT module will not be found. You could, of course, add or symlink it (and libPyROOT.so) manually to the python system libraries if you have write access to it (which a normal install script would have needed as well).
What is the reason for that preference? Without setting PYTHONPATH, the ROOT module will not be found. You could, of course, add or symlink it (and libPyROOT.so) manually to the python system libraries if you have write access to it (which a normal install script would have needed as well).
Best regards,
Wim[/quote]
I don’t want to use PYTHONPATH, ROOTPATH… because they’re unuserfull; if I need to define a new variable every time I install a new library I can became crazy. Without the PYTHONPATH I can use ROOT module if it is installed in the right place. In my case the right place is /usr/lib64 but even if I’ve specified
--with-python-libdir=/usr/lib64
“make install” copy the module in the right place.