I am new in root.
I cannot import ROOT. I use zsh. When I try to run some code that include import ROOT code line I get an error like that.
ModuleNotFoundError: No module named ‘ROOT’
When I run the where root command, I get
/opt/homebrew/bin/root
When I run the where python command, I get
/Users/name/opt/anaconda3/bin/python
/usr/bin/python
Root version is From tags/v6-26-04@v6-26-04, ROOT 6.26/04
python version is python 3.9.7
When I run root-config --python3-version , I get
3.9.13
When I run root-config --has-pyroot , I get,
yes
How do I cope with import error? I hope I explain myself clearly.
Thanks.