Closed rossant closed 9 years ago
Do a conditional import of FileContentsManager, Configurable
try:
from traitlets.config import Configurable
Except ImportError:
from IPython.traitlets.config....
Same with from notebook... import FileContensManager
.
The class have the same name but have moved into another package. The importer probably don't like the shims, I had the same issue with jupyterdrive:
https://github.com/jupyter/jupyter-drive/blob/master/jupyterdrive/clientsidenbmanager.py#L8-L11
thanks @Carreau !
jupyter notebook --NotebookApp.contents_manager_class=ipymd.IPymdContentsManager
error message:
declaration of the class as follows:
@carreau @minrk any ideas?