Python Forum

Full Version: [split] plt.style() in matplotlib causes error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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-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'
Do you have seaborn installed
https://seaborn.pydata.org/installing.html
(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