pymc-devs/pymc — pull request #628 by akloster (2014-10-17 23:24:46+00:00)
Title: #626: ImportError when IPython not installed

When importing pymc, "interactive_sampling.py" would try to import
IPython. If IPython is not present, importing pymc failed with an import
error.

The solution is to check for the IPython module to be present. This
commit also checks if it is running inside an IPython Notebook kernel
and raises an NotImplementedError otherwise.