I am trying to transition from jupyter to jupyter lab2.0. I have installed the package in a fresh environment. When trying to install some of the extensions that come by default in the package, I always get the error
"@jupyterlab/translation" is not a valid npm package
The error is reproduced with any of the extensions that come by default.
I have installed: python 3.8.5
, JupyterLab v2.2.6 andnodejs 10.13.0
On the other hand, how can you upgrade to jupyter lab 3? The option indicated by jupyterlab, conda conda install -c conda-forge jupyterlab
has installed version 2.
What can be the cause? How can i solve this problem?. I will appreciate help.
Whenever you want to install a specific version of any package, both with
pip
and withconda
you can use the syntax=<version_paquete>
at the end of the installation. In your case with Anaconda it would be:With pip :
If you want to be more specific you can specify the version or even the patches, for example here we install the first patch
3.0.1
:The problem was that I had not finished all the steps for the correct installation of nodejs and npm . The following two statements remained to be executed.