Open GWilfred opened 3 weeks ago
Hi @GWilfred, thanks for bringing this to my attention. We are currently in the process of upgrading the environment.
Tagging @mmcky in case he can check on what to do with the deprecated jupyter labextension
Hi @GWilfred, can you pull the latest changes from main
and try building again?
@GWilfred if you are using the anaconda
python distribution you can create the same environment that the lectures use to run for the website by executing
conda env create -f environment.yml
using the environment.yml
file at the root level of this repository.
You will then be using the same software that is tested against the website.
re: your issue above.
It looks like your Jupyter lab may be on an older version than is needed for the extensions you are trying to install?
I execute the following lines for the local installation
Activate jlab extensions
jupyter labextension install @jupyterlab/toc --no-build jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build jupyter labextension install plotlywidget --no-build jupyter labextension install jupyterlab-plotly --no-build jupyter lab build
I got these warnings
(QuantEcon) WG@WorkhorEinstein ~ % jupyter labextension install @jupyterlab/toc --no-build (Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab.
Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages /opt/anaconda3/envs/QuantEcon/lib/python3.12/site-packages/jupyterlab/debuglog.py:54: UserWarning: An error occurred. warnings.warn("An error occurred.") /opt/anaconda3/envs/QuantEcon/lib/python3.12/site-packages/jupyterlab/debuglog.py:55: UserWarning: ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.
Conflicting Dependencies: JupyterLab Extension Package
Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages (QuantEcon) WG@WorkhorEinstein ~ % jupyter labextension install plotlywidget --no-build (Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab.
Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages (QuantEcon) WG@WorkhorEinstein ~ %
What is the workaround to install the required packages?
Best regards Wilfred