How to install Pyroofit?

Dear Experts,
I am trying to install pyroofit package in my local computer but could not get it.
I have installed whole anaconda package and downloaded the repository from here(https://www.desy.de/~swehle/pyroofit/#installation). I have further user this commands: python setup.py install
python setup.py docs and used this command PATH=$PATH~/.local/bin.

Could you please suggest how to install pyroofit and resolve this problem.
Anyway after running one pyroofit code I was getting following error.
Traceback (most recent call last):
** File “pyroofit.py”, line 1, in **
** from pyroofit.models import Gauss**
** File “/home/souvik/Downloads/pyroofit-0.9.4/pyroofit.py”, line 1, in **
** from pyroofit.models import Gauss**
ModuleNotFoundError: No module named ‘pyroofit.models’; ‘pyroofit’ is not a package

Thanks in Advance.


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi @souvik,
I’m afraid pyroofit is not developed by the ROOT team, but it’s a third-party library (by Simon Wehle at DESY, apparently). You might have better luck trying to get in touch with the author.

Cheers,
Enrico

1 Like

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