remove dependency on IPython, only required for the interactive shell