Python debugger segfaults with tvm

A simple (and ugly) workaround is to add import readline before tvm.

import readline
import tvm