I have tried reading previous posts, but I am having trouble with PyROOT on Windows 10. When running a python script importing ROOT (Python 3.9.5), it says No module named ‘ROOT’. I downloaded the binary of the latest root version. Do I need to download the root folder in a specific folder, or is “C:Users/Ross” ok?
I also tried looking at the root-config features, but got this error:
‘root-config’ is not recognized as an internal or external command,
operable program or batch file.
Call C:\Users\Ross\root\bin\thisroot.bat before Python:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
And root-config.bat has been introduced on Windows after the 6.24.00 release