Python Forum
[split] plt.style() in matplotlib causes error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] plt.style() in matplotlib causes error
#1
Dear Team

I tried running the below command on my anaconda prompt in one of a serial steps to install jupyter-matplotlib with a self paced video but getting the below error. Someone should kindly assit diagnose and advise.

(base) C:\Windows\System32>jupyter labextension install @jupyter-widgets/jupyterlab-manager
Output:
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir] [--paths] [--json] [--debug] [subcommand] Jupyter: Interactive Computing positional arguments: subcommand the subcommand to launch options: -h, --help show this help message and exit --version show the versions of core jupyter packages and exit --config-dir show Jupyter config dir --data-dir show Jupyter data dir --runtime-dir show Jupyter runtime dir --paths show all Jupyter paths. Add --json for machine-readable format. --json output paths as machine-readable json --debug output debug information about paths Available subcommands: kernel kernelspec migrate run script troubleshoot trust Jupyter command `jupyter-labextension` not found.
Reply
#2
(May-11-2023, 04:45 PM)olufaruqu Wrote: Jupyter command jupyter-labextension not found.
Look at this Thread
As you see for JupyterLab 3.0 --> as you should use and not old JupyterLab 2,the install for jupyterlab-manager is pip install ipywidgets.
Reply
#3
(May-11-2023, 08:00 PM)snippsat Wrote:
(May-11-2023, 04:45 PM)olufaruqu Wrote: Jupyter command jupyter-labextension not found.
Look at this Thread
As you see for JupyterLab 3.0 --> as you should use and not old JupyterLab 2,the install for jupyterlab-manager is pip install ipywidgets.

Very Many thanks for your quick response. I have tried the command and was getting "requirements already satisfied" response.

I tried running the below scrip to confirm if it works but another error persists (shown below too). Kindly assit review and advise further.

Command: ipython RollDieDynamic.py 6000 1

Output:
Installed qt5 event loop hook. --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) File ~\Documents\PythonFundamentalsLiveLessons-master\examples\ch01\RollDieDynamic.py:6 4 import matplotlib.pyplot as plt 5 import random ----> 6 import seaborn as sns 7 import sys 9 def update(frame_number, rolls, faces, frequencies): ModuleNotFoundError: No module named 'seaborn'
Reply
#4
Do you have seaborn installed
https://seaborn.pydata.org/installing.html
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
(May-11-2023, 08:00 PM)snippsat Wrote:
(May-11-2023, 04:45 PM)olufaruqu Wrote: Jupyter command jupyter-labextension not found.
Look at this Thread
As you see for JupyterLab 3.0 --> as you should use and not old JupyterLab 2,the install for jupyterlab-manager is pip install ipywidgets.

(May-12-2023, 01:17 PM)buran Wrote: Do you have seaborn installed
https://seaborn.pydata.org/installing.html

Thank Buran and @Snipssat you guys are the best. You really helped

Attached Files

Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  plt.style() in matplotlib causes error leecreighton 1 2,746 Mar-06-2020, 10:54 PM
Last Post: scidam
  [split] np.arrange error - no attribute gyan 2 7,002 Aug-19-2018, 05:38 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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