def clean_tensor_jupyterlab():
    try:
        clean_jupyterlab()
        conn.sudo('systemctl stop tensorboard')
        conn.sudo('systemctl disable tensorboard')
        conn.sudo('systemctl daemon-reload')
    except Exception as err:
        print('Error: {0}'.format(err))
        sys.exit(1)
def clean_tensor_jupyterlab():
    try:
        clean_jupyterlab()
        conn.sudo('systemctl stop tensorboard')
        conn.sudo('systemctl disable tensorboard')
        conn.sudo('systemctl daemon-reload')
    except Exception as err:
        print('Error: {0}'.format(err))
        sys.exit(1)