_ROOT Version: 6.20.04
_Platform: WSL with Ubuntu 18.04 or 19.10
Compiler: Not Provided
When I installed ROOT 6.20.04 under Windows Subsystem for Linux with Ubuntu 18.04, I had trouble with python, e.g., “import ROOT as rt” led to errors related to libpython2.7. Perhaps it is obvious, but I wanted to pass on the fix:
sudo apt install libpython2.7
sudo apt install python
The as-distributed Ubuntu has python3, but ROOT seems to have been built against 2.7. The two apt commands resolve this.
Things seem to work now, although I notice that one of the demos leads to a segv when the next demo is run (I think it was fillRandom) and sometimes ROOT hangs. I think the hang relates to clicking on certain help buttons and wonder if it relates to trying to open a browser (there’s no basis for that guess).
I’m new to ROOT, so if the WSL route is a bad idea that will be a dead end, please let me know. If I really need to dual-boot and run in Linux proper, I will, but would prefer not to.