I installed root using HomeBrew and now I can’t import PyROOT (“Module not Found”).
emphasized text
ROOT Version: root 6.24
Platform: monterey
Compiler:
I installed root using HomeBrew and now I can’t import PyROOT (“Module not Found”).
emphasized text
ROOT Version: root 6.24
Platform: monterey
Compiler:
Hello,
If you installed with homebrew, the ROOT module should be found without any environment configuration, right @henryiii ?
Yes, should require no configuration. However, you do need to use brew’s Python (currently the default python3
, version 3.9). If you make a virtual environment, you’ll need --system-site-packages
to make sure it can access the ROOT installed into the, well, system site packages.
FYI, ROOT 6.26 for brew should have just dropped last night.
How can I enable the site specific package in my device?
Hi,
You just need the --system-site-packages
if you are creating a virtual environment, are you?
Also, are you using brew’s Python as @henryiii suggested?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.