ferhue
May 27, 2024, 12:39pm
31
Visual Studio uses Powershell by default. Until there is a thisroot.ps1, you have to switch to “Cmd”. It can be done in the Visual Studio setting of terminals.
See also:
ROOT Version: root_v6.30.06.win64.vc17.debug
Platform: Windows 11 64-bit
Interpreter: Python 3.11.9 64-bit
Whenever I try to import Root on a python file in VS code I just get a module not found error. I’m not that familiar with VS code so im not sure if I have to put the root file I downloaded [ root_v6.30.06.win64.vc17.debug.zip] in the same folder as my .py file. Or if its something in my VS code setting that I have to switch to be able to find it. I’m think I have all the dependencies bec…
I didn’t append the path through lib . I still used bat. It is strange however how running the batch file in cmd works but not in powershell. To be honest, I dont really know the difference between them.