Turtle widgets support is just not workin ... and always giving error of "error loading nbextensions/mobilecheloninjs/turtlewidget"
See original GitHub issueEnvironment data
- VS Code version: 1.62
- Jupyter Extension version (available under the Extensions sidebar): 2021.10.1001414422
- Python Extension version (available under the Extensions sidebar): 2021.11.1
- OS (Windows | Mac | Linux distro) and version: windows 10 build 19042
- Python and/or Anaconda version: 3.9.3
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): n.a
- Jupyter server running: Local | Remote | = local
Expected behaviour
it should show the turtle widget and start plotting and show the diagram…
Actual behaviour
it just do not show the widget of turtle and gice eroor of attribule eroor in “t.pensize” which is valid and shows widget to download support file but in the final it does nothing . and give more errors
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- just use this valid code .
- from mobilechelonian import Turtle from ipywidgets import interact import turtle t = Turtle() t.pencolor(“red”) turtle.begin_fill() t.pensize(3) t.left(50) t.forward(113) t.circle(50,200) t.right(140) t.circle(50,200) t.forward(133) turtle.end_fill() input()
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
"Eroor given by jupyter :- "
AttributeError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_1972/308323382.py in <module> 5 t.pencolor(“red”) 6 turtle.begin_fill() ----> 7 t.pensize(3) 8 t.left(50) 9 t.forward(113)
AttributeError: ‘Turtle’ object has no attribute ‘pensize’
Arpan kumar
email : - arpankumar11119@gmail.com
note :- add support for turtle also in jupyter vs code ....
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Error loading Jupyter Notebook Extensions - Stack Overflow
While the notebooks work fine on my system, I cannot view the nbextensions tab. The following is the error log I see on...
Read more >Troubleshooting — jupyter_contrib_nbextensions 0.5.0 ...
If you have a large notebook, extensions can stop working after the notebook is loaded. Unfortunately, although this can be caused by nbextensions...
Read more >PowerBI-Jupyter widget does not render in Jupyter
But whenever I finally run the cell to render the report, it returns the error: "Error displaying widget: model not found", which is...
Read more >Voila does not work for me - fastai dev - fast.ai Course Forums
from utils import * from fastai2.vision.widgets import * from ... Then I click “voila” to run it and I get a very cryptic...
Read more >Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 ...
Safari supports widgets at Cocalc so I can't think that it won't support them ... Could not open comm -- Error: Class jupyter.widget...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The root cause has been clearly documented , in the previous comment.
Unfortunately this issue hasn’t been priotized yet, we prioritize issues based on community engagement (upvotes) and usage.
what is the root cause of this … anything can be done to fix this …?