#626: ImportError when IPython not installed
#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.

jameshensman/pymc3,superbobry/pymc3,dhiapet/PyMC3,hothHowler/pymc3,arunlodhi/pymc3,evidation-health/pymc3,CVML/pymc3,clk8908/pymc3,Anjum48/pymc3,dhiapet/PyMC3,Anjum48/pymc3,superbobry/pymc3,LoLab-VU/pymc,hothHowler/pymc3,evidation-health/pymc3,LoLab-VU/pymc,MichielCottaar/pymc3,wanderer2/pymc3,JesseLivezey/pymc3,kyleam/pymc3,MCGallaspy/pymc3,arunlodhi/pymc3,CVML/pymc3,MichielCottaar/pymc3,JesseLivezey/pymc3,kmather73/pymc3,clk8908/pymc3,MCGallaspy/pymc3,tyarkoni/pymc3,jameshensman/pymc3,kmather73/pymc3,kyleam/pymc3,wanderer2/pymc3,tyarkoni/pymc3