Python Forum
Deitel book "Python for Programmers"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deitel book "Python for Programmers"
#4
Looking at this make sure you have at least JupyterLab 3.0
Then can just do:
pip install ipywidgets
This was the old way for version 2 of JupyterLab jupyter labextension install @jupyter-widgets/jupyterlab-manager.

Quick test with my own environment.
# Node version
(tom_env) G:\div_code
λ node -v
v16.15.1

# jupyter lab version
(tom_env) G:\div_code
λ jupyter lab -V
3.3.4

# install
(tom_env) G:\div_code
λ pip install jupyterlab_widgets
Requirement already satisfied: jupyterlab_widgets in g:\miniconda3\envs\tom_env\lib\site-packages (1.0.2)
So if start Jupyter lab.
(tom_env) G:\div_code
λ jupyter lab
[I 2023-04-08 18:35:31.545 ServerApp] jupyterlab | extension was successfully linked.
.....
Then in Notebook can use widgets.
[Image: STJaQM.png]
Reply


Messages In This Thread
Deitel book "Python for Programmers" - by ricardian - Apr-08-2023, 11:57 AM
RE: Deitel book "Python for Programmers" - by snippsat - Apr-08-2023, 04:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Beginner stuck in Python book for kids mic81k 11 1,376 Nov-27-2023, 04:28 AM
Last Post: deanhystad
  best " Learning Python " book for a beginner alok 4 3,126 Jul-30-2021, 11:37 AM
Last Post: metulburr
  Nested Python functions (Dan Bader's book) Drone4four 4 2,643 Jun-26-2021, 07:54 AM
Last Post: ndc85430
  I really need help, I am new to python, I am using a book that helps me to learn JaprO 5 3,057 Nov-28-2020, 02:30 PM
Last Post: JaprO
  creating an 'adress book' in python using dictionaries? apollo 6 14,962 May-06-2019, 12:03 PM
Last Post: snippsat
  3 easy questions for python programmers but 3 pain in the ass for me grjmmr 6 4,055 Jul-22-2018, 08:41 PM
Last Post: Larz60+
  IndentationError message could be confusing to new programmers insearchofanswers87 1 2,388 May-16-2018, 05:05 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020