Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pyROOT in virtualenv

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.

like image 900
A Deshmukh Avatar asked Apr 29 '26 22:04

A Deshmukh


1 Answers

You'll need to install root within the virtual environment too. Run a pip install command after activating the environment.

like image 153
D Hudson Avatar answered May 02 '26 10:05

D Hudson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!