configuring ipython is NP-complete