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

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

Closed
JunbeiZhang opened this issue Jun 19, 2024 · 10 comments
Closed

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

JunbeiZhang opened this issue Jun 19, 2024 · 10 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@JunbeiZhang
Copy link

Environment data

  • VS Code version: 1.90.1
  • Jupyter Extension version (available under the Extensions sidebar): v2024.5.0
  • Python Extension version (available under the Extensions sidebar): v2024.9.11711009 (pre-release)
  • OS (Windows | Mac | Linux distro) and version: windows11
  • Python and/or Anaconda version: python 3.11
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N
  • Jupyter server running: Local

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)

@JunbeiZhang JunbeiZhang added the bug Issue identified by VS Code Team member as probable bug label Jun 19, 2024
@DonJayamanne
Copy link
Contributor

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

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Jun 24, 2024
@JunbeiZhang
Copy link
Author

JunbeiZhang commented Jun 24, 2024 via email

@sbroth
Copy link

sbroth commented Jun 24, 2024

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

@JunbeiZhang
Copy link
Author

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

@DonJayamanne
Copy link
Contributor

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
Copy link
Author

@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.

@jinang99
Copy link

Hi @JunbeiZhang @sbroth,
Try switching to a pre-release version for the Jupyter extension pack [v2024.4.2024042601 (pre-release)] in VS Code. That worked for us!

@jeet183
Copy link

jeet183 commented Jul 12, 2024

Thanks @jinang99!
This worked for me as well.

@DonJayamanne
Copy link
Contributor

If this issue still persists, please ping here or feel free to create a new issue.
Closing as I think this no longer exists.

@forestGoroli
Copy link

I'm still facing the same error:
When I use: jupyter:export current python file as jupyter notebook,
I got:

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

I checked the versions below, but they didn't work (I got the above error)

  • v2024.8.2024080201 (pre-release)
  • v2024.7.0
  • v2024.4.2024042601 (pre-release) <- Even though jinang99 succeeded with this version, I still got the error.
  • v2024.3.0

The following versions work fine:

  • v2024.2.2024022602 (pre-release)
  • v2024.2.0

I suspect something was changed between these versions...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

6 participants