import subprocess
try:
import whiteboxgui
except ImportError:
print('Installing whiteboxgui ...')
subprocess.check_call(["python", '-m', 'pip', 'install', 'whiteboxgui'])
import whiteboxgui
whiteboxgui.show()
whiteboxgui.show(tree=True)