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.

Unable to load a compatible version of the widget 'catboost_module'. Expected behavior may be affected.

See original GitHub issue

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. !pip install jupyter ipywidgets catboost
  2. !jupyter nbextension enable --py widgetsnbextension
  3. run:
from catboost.datasets import amazon
from catboost import CatBoostClassifier
(train_df, test_df) = amazon()
y = train_df.ACTION
X = train_df.drop('ACTION', axis=1)
cat_features = list(range(0, X.shape[1]))
model = CatBoostClassifier(iterations=100)
model.fit(X, y, cat_features=cat_features, verbose=10, plot=True)

Actual behavior

Presents a pop up window in the lower right hand side with error “Unable to load a compatible version of the widget ‘catboost_module’. Expected behavior may be affected.” and buttons Ok, Do not show again, Report issue

Expected behavior

Show a plot of logloss as progress training iterations

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local
  • Extension version: 2020.8.109390
  • VS Code version: 1.48.2
  • Setting python.jediEnabled: not defined
  • Setting python.languageServer: Jedi
  • Python and/or Anaconda version: Python 3.8.5
  • OS: Linux (distro): Manjaro xfce
  • Virtual environment: venv

Python Output

After setting python.logging.level=debug, restarting vs code and running the above code, there is no Python output tab.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Jun 17, 2022

This should now work as expected, moving to June to get validated.

1reaction
claudiaregiocommented, Sep 22, 2020

Expected Result:

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Widget failing to delete - Using Streamlit
Actual behavior: The widget does disappear from the UI, but I still get the Duplicate WidgetID error.
Read more >
Unable To View Transaction Activities In Activity Log Widget
The issue can be reproduced at will with the following steps: 1. Create two users for the same party id. 2. Assign role...
Read more >
can't run catboost - vscode-jupyter - GitAnswer
can't run catboost - vscode-jupyter. it reports:"Unable to load a compatible version of the widget 'catboost_module'. Expected behavior may be affected.
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