You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jupyter Extension version (available under the Extensions sidebar): 2022.9.1303220346
Python Extension version (available under the Extensions sidebar): 2022.18.2
OS (Windows | Mac | Linux distro) and version: Windows
Python and/or Anaconda version: Miniconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local
Expected behaviour
I execute the command to export a notebook to PDF, it should run without problems, but apparently an extension that is not automatically installed is required.
Actual behaviour
The extension aborts with a message captured below
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Create a minimal conda environment
Create a notebook in Visual Studio
Let the extension install Jupyter's requirement
Execute the command to export to PDF
Logs
Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)
[NbConvertApp] WARNING | Config option `template_path` not recognized by `PDFExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`?
Traceback (most recent call last):
File "C:\Users\juanj\miniconda3\envs\iQ\Scripts\jupyter-nbconvert-script.py", line 9, in <module>
sys.exit(main())
^^^^^^
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\jupyter_core\application.py", line 276, in launch_instance
return super().launch_instance(argv=argv, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\traitlets\config\application.py", line 982, in launch_instance
app.start()
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\nbconvertapp.py", line 426, in start
self.convert_notebooks()
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\nbconvertapp.py", line 595, in convert_notebooks
self.exporter = cls(config=self.config)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\exporters\templateexporter.py", line 342, in __init__
super().__init__(config=config, **kw)
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\exporters\exporter.py", line 118, in __init__
self._init_preprocessors()
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\exporters\templateexporter.py", line 507, in _init_preprocessors
super()._init_preprocessors()
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\exporters\exporter.py", line 279, in _init_preprocessors
self.register_preprocessor(preprocessor, enabled=True)
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\nbconvert\exporters\exporter.py", line 239, in register_preprocessor
preprocessor_cls = import_item(preprocessor)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\juanj\miniconda3\envs\iQ\Lib\site-packages\traitlets\utils\importstring.py", line 30, in import_item
module = __import__(package, fromlist=[obj])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'jupyter_contrib_nbextensions'
The text was updated successfully, but these errors were encountered:
Environment data
Expected behaviour
I execute the command to export a notebook to PDF, it should run without problems, but apparently an extension that is not automatically installed is required.
Actual behaviour
The extension aborts with a message captured below
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: