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.
You'll need to install root within the virtual environment too. Run a pip install command after activating the environment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With