question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error loading preloads: Could not find renderer

See original GitHub issue

All of a sudden the jupyter extension has problems with ipywidgets. Yesterday I started getting this error whenever I use tqdm and display(dataframe) in a notebook.

Error loading preloads:
Could not find renderer

Yesterday I had to reinstall the VSC python tools (including vscode-jupyter) and the conda environment I use inside of a remote environment: that is the only change with respect to two days ago, when there were no issues at all. The conda environment was built using a yaml file (conda env export > env.yaml) that was used to create the environment in use two days ago.

Both the local and the remote machines run linux.

The VSC extension Jupyter Notebook Renderers is installed, version v1.0.6.

I tried to uninstall and reinstall the Jupyter extension (as suggested somewhere), but with no effects.

Environment data

Version: 1.66.2 Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977 Date: 2022-04-11T07:49:24.808Z Electron: 17.2.0 Chromium: 98.0.4758.109 Node.js: 16.13.0 V8: 9.8.177.11-electron.0 OS: Linux x64 5.13.0-40-generic

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
thistlillocommented, May 11, 2022

Hello and thanks for your anwer. I was finally able to have it working again, but I needed to uninstall / reinstall / close CSV / reopen VSC.

I think my installation has become a little messy after this round of updates since I have problems with many other extensions. Not even python code autocompletion works anymore. I think it would be better if a VSC version could install only versions of an extension that are compatible with it (in this case 1.66).

Update: after updating to 1.67 many of the problems seem solved. It seems updates are compulsory with VSC.

2reactions
cpopticcommented, Jun 22, 2022

I sunk something like 3 hours Uninstalling the Jupyter extension, reloading VS Code, reinstalling the extension, re running the notebook, getting the same error, uninstalling the Jupyter notebook Renderers extension, reloading VS code, reinstalling both Jupyter and the Notebook Renderers extension, rerunning the notebook, etc.

The “Select Kernel” button stops working, and says “Install kernels from the marketplace” even though I had just run the notebook with a kernel. So then you have to uninstall Jupyter extension yet again and reload, reinstall it…

What a mess.

Eventually through some random permutation of older versions of the extension it worked. I think it was basically some earlier version of the VScode-Jupyter extension (~ over 2 months before the current release) that ultimately made the Error loading preloads: Could not find renderer error go away.

But I’ve sunk far too much time trying to fix this bug and can no longer afford any more.

The VS Code Jupyter extension has caused incalculable amount of stress, frustration, and lost time for myself and other users.

TLDR, the Jupyter extension needs some serious work in stability and reliability.

On Thu, Jun 16, 2022, 2:16 PM Rich Chiodo @.***> wrote:

@cpoptic https://github.com/cpoptic this is not reproing for me. Can you open a new issue? We’d need to look at logs and such to see why the renderers aren’t installed.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-jupyter/issues/9967#issuecomment-1157993635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXGFVJBEZGWOZL2NV4F3GLVPNVRLANCNFSM5VQZAXAQ . You are receiving this because you were mentioned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error loading preloads: Could not find renderer - Stack Overflow
The fix for now is to just go to the Jupyter extension tab, then the button that says "Uninstall," click the down arrow...
Read more >
Error loading preloads: Could not find renderer: 4 Fixes
Error loading preloads: Could not find renderer: 4 Fixes · Restart your IDE · Reinstall the Jupyter Notebook Renderers Extension · Run plot...
Read more >
jupyter notebook Error loading preloads:Could not find renderer
Issue with the latest release of the VS code Jupyer extension. The fix for now is to just go to the Jupyter extension...
Read more >
VS Code错误“preloads: Could not find renderer” 解决办法
本文主要介绍vscode中,运行jupyter notebook 报错:Error loading preloads: Could not find renderer的解决方法,以及相关示例代码。
Read more >
Can someone help me with what this error message means? I ...
xtrain = tf.constant(xtrain) error message: Error loading preloads: Could not find renderer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found