microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.25k stars 274 forks source link

Extension 'vscode.ipynb' is not known or not activated #15781

Open JunbeiZhang opened 1 week ago

JunbeiZhang commented 1 week ago

Environment data

Expected behaviour

transform .py to .ipynb

Actual behaviour

error actual

Steps to reproduce:

ctrl+shift+p

jupyter:export current python file as jupyter notebook

error:Extension 'vscode.ipynb' is not known or not activated

Logs

19:37:36.848 [warn] DataScience Error Error: Extension 'vscode.ipynb' is not known or not activated at b.getActivatedExtension (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:143:3653) at u.getExtensionExports (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:159:8971) at ne.get exports [as exports] (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:159:23149) at vI.serialize (c:\Users\~.vscode\extensions\ms-toolsai.jupyter-2024.5.2024052901-win32-x64\dist\extension.node.js:374:13260) at processTicksAndRejections (node:internal/process/task_queues:95:5) at c:\Users\~.vscode\extensions\ms-toolsai.jupyter-2024.5.2024052901-win32-x64\dist\extension.node.js:341:12092 at G0.waitWithStatus (c:\Users\~.vscode\extensions\ms-toolsai.jupyter-2024.5.2024052901-win32-x64\dist\extension.node.js:341:1141) at Ko.exportFile (c:\Users\~.vscode\extensions\ms-toolsai.jupyter-2024.5.2024052901-win32-x64\dist\extension.node.js:341:12045) at Ko.listenForErrors (c:\Users\~.vscode\extensions\ms-toolsai.jupyter-2024.5.2024052901-win32-x64\dist\extension.node.js:341:11653) at h (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:200468)

DonJayamanne commented 1 week ago

I'm sorry you are running into this issue. Are you still running into this problem

JunbeiZhang commented 1 week ago

Yes, I still can’t use Jupiter extension

发自我的iPhone

------------------ Original ------------------ From: Don Jayamanne @.> Date: Mon,Jun 24,2024 9:32 PM To: microsoft/vscode-jupyter @.> Cc: Junbei Zhang @.>, Author @.> Subject: Re: [microsoft/vscode-jupyter] Extension 'vscode.ipynb' is not knownor not activated (Issue #15781)

I'm sorry you are running into this issue. Are you still running into this problem

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

sbroth commented 1 week ago

I am having the exact same issue. I tried downgrading Jupyter to the previous version, and it still did not work.

JunbeiZhang commented 4 days ago

me too, I try to reload it, but still can't work.

DonJayamanne commented 4 days ago

I'm sorry you are running into this, @sbroth @JunbeiZhang Please can you disable all extensions and try this again. Also, can you search for the ipynb extension and ensure it is enabled, see below on searching for this. Screenshot 2024-06-28 at 11 16 19

Screenshot 2024-06-28 at 11 17 02

JunbeiZhang commented 4 days ago
@builtin jupyter_extension

I try jupyter again with and without extensions, making sure .ipynb support is ok. But I still can't use it, it comes the same error.