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

Create New Blank Jupyter Notebook' resulted in an error (command 'python.datascience.createnewnotebook' not found) #1803

Closed
ogola89 opened this issue Apr 24, 2020 · 10 comments
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@ogola89
Copy link

ogola89 commented Apr 24, 2020

Issue Type: Bug

The problem is created when two things happen:
1.) Run 'Create New Blank Jupyter Notebook' from command Pallette

2.) Open *.ipynb jupyter notebook.

It worked once, but hasn't worked again. I don't know how to identify what is going on. I have disabled other Jupyter-like extensions.

Extension version: 2020.4.74986
VS Code version: Code 1.44.1 (a9f8623ec050e5f0b44cc8ce8204a1455884749f, 2020-04-11T01:48:12.622Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)
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: unavailable_off
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) 7.90GB (0.77GB free)
Process Argv
Screen Reader no
VM 0%
@jmew
Copy link
Contributor

jmew commented Apr 24, 2020

Thanks for the issue @ogola89. If you try to create a new blank notebook or open an existing notebook afterwards does it work afterwards? I believe this may be a known issue that should be fixed in the next release.

@GitProfAn
Copy link

Hello,
recently faced the same problem. It is gone after a few attempts (approx. 5) for re-starting VS code. I have no ideas what was the real issue and will it come again or not.

My message just to keep the Community informed.

Notification message in VS code as follow:
Command 'Python: Create New Blank Jupyter Notebook' resulted in an error (command 'python.datascience.createnewnotebook' not found)

Regards

OS Win 8.1

VS code
Version: 1.44.2 (user setup)
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T16:36:23.138Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 6.3.9600

@ogola89
Copy link
Author

ogola89 commented Apr 29, 2020

@jmew @GitProfAn The issue is now resolved for me. I have dual boot Ubuntu 19.10 and Windows 10, and had the exact same issue on both OSes whether I was trying to open an existing notebook or create one - both by using the command pallette option and also just creating a new file with the ipynb extension.

What worked for me was disabling all other 'notebook/jupyter' extensions which I had installed (including a Data Science grouping of extensions which included Jupyter Notebook for VSCode) and leaving Microsoft's Python extension as the only one which could configure notebooks.

Please give this a try, very simple and may work for you @GitProfAn

@GitProfAn
Copy link

Hello,
thank you for comments.

in my case the Jupyter Notebook for VSCode starts and works normally now.

As far as additional extensions are concerned I have only «Python extension for Visual Studio Code» and «reStructuredText Language Support for Visual Studio Code» previously (couple months ago) installed. So, I did not disable them at all.

I will update this thread if any changes are to come.

@GitProfAn
Copy link

GitProfAn commented Apr 30, 2020

Oops, it did it again...

I did this again «It is gone after a few attempts (approx. 5) for re-starting VS code».

Jup_Nbook issue

@rchiodo
Copy link
Contributor

rchiodo commented Jun 9, 2020

I cannot reproduce this with the latest bits. This would likely be a VS code issue as they are the one's handling command registration.

Please try updating to the latest VS code.

@rchiodo rchiodo closed this as completed Jun 9, 2020
@GitProfAn
Copy link

Hello,
no problem. Actually it does not bother me a lot so far as I just need 2 or 3 attempts to launch the Jupyter.

Regards,

Version: 1.45.1 (user setup)
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:35.169Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 6.3.9600

fail message

@ctappy
Copy link

ctappy commented Jul 21, 2020

with Linux centos 7, I am seeing this too with v1.45.1 and 2020.6.91350 ms python setup. I tried adding in tracing but nothing additional from that

this might be related to a missing import or PATH. I tried adding in some paths I know where jupyter is located and still cannot resolve the issue

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@DonJayamanne DonJayamanne added the bug Issue identified by VS Code Team member as probable bug label Nov 13, 2020
@andvsilva
Copy link

andvsilva commented Nov 30, 2020

Hi,

I have this problem on Linux deepin 4.15.0-30deepin-generic #31 SMP Fri Nov 30 04:29:02 UTC 2018 x86_64 GNU/Linux

I am using the anaconda Command line client (version 1.7.2)

Error:
Command '.NET Interactive: Create new blank notebook' resulted in an error (command 'dotnet-interactive.newNotebook' not found)

Installed 'dotnet-interactive.newNotebook' extension, But this does not fix the problem.

Someone knows how to fix this issue?

Thanks in advance.
DeepinScreenshot_select-area_20201130145600

DeepinScreenshot_select-area_20201130145910

@DonJayamanne
Copy link
Contributor

@andvsilva

Command '.NET Interactive: Create new blank notebook' resulted in an error (command 'dotnet-interactive.newNotebook' not found)

This isn't a command contributed by the Jupyter extesnion.
Please report this issue against the .NET Interactive Notebooks extension repo https://github.com/dotnet/interactive.

@microsoft microsoft locked as resolved and limited conversation to collaborators Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

7 participants