I want to use pyROOT
in a virtualenv
, I have ROOT installed on my system, when outside the virtualenv
I can do import ROOT
and it works, but inside a virtualenv
doing an import ROOT
gives the following error:
ModuleNotFoundError: No module named 'ROOT'
How do I add ROOT in there?
Thanks in advance.
Install pyroot. try "pyroot file.py" instead of "python file.py"