diff --git a/IPython/nbconvert/postprocessors/__init__.py b/IPython/nbconvert/postprocessors/__init__.py index 6cae641..9f954f3 100644 --- a/IPython/nbconvert/postprocessors/__init__.py +++ b/IPython/nbconvert/postprocessors/__init__.py @@ -1,3 +1,8 @@ from .base import PostProcessorBase from .pdf import PDFPostProcessor -from .serve import ServePostProcessor + +# protect against unavailable tornado +try: + from .serve import ServePostProcessor +except ImportError: + pass