Cannot export jupyter notebook to .py
See original GitHub issueIssue 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% |
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (2 by maintainers)
Top Results From Across the Web
python - VScode fails to export Jupyter notebook to HTML
5 Answers 5 · Install required module: pip install nbconvert · Turn to the folder that contains .ipynb then run jupyter nbconvert --to...
Read more >Cannot export python notebook to ipython notebook or html ...
Hello,. I edited a python notebook in databricks and I'd like to export it as ipython notebook or html file. However, I got...
Read more >Export Jupyter Notebook as a Python file (.py), a PDF, or an ...
Your browser can't play this video. ... Export Jupyter Notebook as a Python file (. py ), a PDF, or an HTML file...
Read more >VS Code export your jupyter notebook as .py and ... - YouTube
Your browser can't play this video. ... VS Code export your jupyter notebook as . py and save as does not work Jan...
Read more >Working with Jupyter Notebooks in Visual Studio Code
You can export a Jupyter Notebook as a Python file ( .py ), a PDF, or an HTML file. To export, select the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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.