Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with missing modules, template directory #60

Open
adowling2 opened this issue Feb 17, 2021 · 0 comments
Open

Error with missing modules, template directory #60

adowling2 opened this issue Feb 17, 2021 · 0 comments
Assignees

Comments

@adowling2
Copy link
Collaborator

@jckantor I just updated my laptop to the master branch and tried to run nbpages. nbpages works okay for this repo on another computer. Here are the errors:

[NbConvertApp] WARNING | Config option `template_path` not recognized by `HTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
Traceback (most recent call last):
  File "/Users/adowling/anaconda3/envs/spring2021/bin/jupyter-nbconvert", line 11, in <module>
    sys.exit(main())
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/jupyter_core/application.py", line 254, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
    app.start()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 350, in start
    self.convert_notebooks()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 519, in convert_notebooks
    self.exporter = cls(config=self.config)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 325, in __init__
    super().__init__(config=config, **kw)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 114, in __init__
    self._init_preprocessors()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 490, in _init_preprocessors
    super()._init_preprocessors()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 266, in _init_preprocessors
    self.register_preprocessor(preprocessor, enabled=True)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 227, in register_preprocessor
    preprocessor_cls = import_item(preprocessor)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/traitlets/utils/importstring.py", line 30, in import_item
    module = __import__(package, fromlist=[obj])
ModuleNotFoundError: No module named 'jupyter_contrib_nbextensions'
- writing python index
[NbConvertApp] WARNING | Config option `template_path` not recognized by `HTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
Traceback (most recent call last):
  File "/Users/adowling/anaconda3/envs/spring2021/bin/jupyter-nbconvert", line 11, in <module>
    sys.exit(main())
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/jupyter_core/application.py", line 254, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
    app.start()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 350, in start
    self.convert_notebooks()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 519, in convert_notebooks
    self.exporter = cls(config=self.config)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 325, in __init__
    super().__init__(config=config, **kw)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 114, in __init__
    self._init_preprocessors()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 490, in _init_preprocessors
    super()._init_preprocessors()
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 266, in _init_preprocessors
    self.register_preprocessor(preprocessor, enabled=True)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 227, in register_preprocessor
    preprocessor_cls = import_item(preprocessor)
  File "/Users/adowling/anaconda3/envs/spring2021/lib/python3.8/site-packages/traitlets/utils/importstring.py", line 30, in import_item
    module = __import__(package, fromlist=[obj])
ModuleNotFoundError: No module named 'jupyter_contrib_nbextensions'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants