Virtualenv problem actually had to do with ipython3 vs ipython in pip. Fixed with a symlink, so this line was unnecessary.