vscode-jupyter: Cannot export jupyter notebook to .py

Issue Type: Bug

Just clicking on convert and save to python script returns an empty script with just one cell

# To add a new cell, type '# %%'
# To add a new markdown cell, type '# %% [markdown]'

Really annoying.

I know there is another issue, similar to this, marked as resolved, but it seems it is not resolved.

Extension version: 2020.4.74986 VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:36:23.138Z) OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel® Core™ i7-8550U CPU @ 1.80GHz (8 x 1992)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.85GB (13.98GB free)
Process Argv
Screen Reader no
VM 0%

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (2 by maintainers)

Most upvoted comments

@Rcubes, can you try running ‘jupyter nbconvert’ from the command-line? Looks like this is failing.

Hi @Rcubes, looks like VS Code doesn’t have access to C:\\Users\fata2810\AppData\Local\Microsoft\WindowsApps\ where your python interpreters are located. You can see it in your log on lines 208, 2011 and 2014 where it says ‘Acceso denegado’. Try to run VS Code as administrator and see it that fixes it, please let me know.

On another note ‘jupyter-nbextensions-configurator’ seems to not be installed. Please run pip install jupyter-nbextensions_configurator in your terminal.