Could not determine jupyterlab build status without nodejs - node.js

I'm seeing this error in the terminal: "Could not determine jupyterlab build status without nodejs". Even when latest version of nodejs is installed on my PC.
Please guide what should I do?

I ran into a similar issue this morning and ended up here. The diagnostic message appears to be harmless:
[W 07:35:51.998 LabApp] Could not determine jupyterlab build status without nodejs
However, the way I resolved it for my configuration (Windows 10, Anaconda distribution of Python 3.7) was to download NodeJS from the source. Choose the LTS (Long Term Support) version of Node.js rather than the "Current with the latest features" edition.
Next, ensure the node executable is in the search path. On Windows, hold the Windows key and Break. Click on Advanced System Settings -> Environment Variables -> System Variables. Double click PATH to edit. Click OK until you're out.
In a new command window, run:
jupyter lab
You're looking for something like this in the output:
[I 07:16:26.721 LabApp] Node v10.15.3

On Unbuntu 20.04, just activate the environment and install by conda:
conda install -c conda-forge nodejs

Try the command below, follow through the prompt and see if it helps in your issue.
jupyter lab --debug
You can check your installation of npm or nodes by using
node -v
npm -v

FWIW, I got the same error message, on Win10, and just restarted the virtual environment, restarted jupyter lab and have not had the error since (several days). Doesnt help of course if there is an underlying issue:)

For Mac OS/Windows: install LTS version of Node.js from here and restart jupyter lab.

I installed it from source but it looks like a version had installed on conda that was old, which was causing this issue. If you've installed nodejs with conda (or something similar) you will get an outdated version, uninstall it and install it from the nodejs website manually. The error will fix.

Just for completeness, on Linux Mint LMDE 5, installing with pip solved the problem:
pip install nodejs

Related

Can't install extensions for JupyterLab because Node.js and npm can't be found

I installed Jupyter Lab via pip on a windows machine.
I installed Node.js via their website and used the wizard they provided.
I verified Node.js and npm are install on my machine:
Installed via pip, I can verify that flake8 extension is on my machine in the site-packages directory:
However, my "installed" section in Jup-Lab shows nothing - as does labextension list:
If I try to install extensions for Jup-Lab using the extension manager it tells me I have to install nodejs and npm
I've been searching for hours, but completely lost on how to resolve this. Please help!

jupyter-lab installed but jupyter doesn't see it

I have jupyter-lab installed via pip3 with Python 3.8.10 on Ubuntu 20.04. I've been using it for months, but noticed some problems getting KeplerGL to render maps in it. While trouble-shooting this, I ran jupyter --version to see which version of jupyterlab I have installed (KeplerGL setup varies based on jupyter-lab version), and mysteriously, it says:
jupyter lab : not installed
Quite odd, because I have it open right now; I launched it from the command line like this:
$ jupyter-lab
I ran pip3 install jupyterlab for good measure, and got a bunch of "requirement already satisfied" messages. I suspect this has something to do with my inability to render KeplerGL, but my main purpose for this inquiry is figuring out why Jupyter isn't seeing jupyter-lab.
Did you make sure everything is installed in the same environment?

Spyder, clean Win installation, ver. 4.2.3 - pip gives message "No module named pip"

I have Spyder, clean Win10 installation, ver. 4.2.3.
When I run command pip, it gives message:
Note: you may need to restart the kernel to use updated packages.
C:\Users\UserName\AppData\Local\Programs\Spyder\Python\python.exe: No module named pip
I restarted Spyder, Win10, nothing helps.
How to fix it?
Thanks.
(Spyder maintainer here) We don't provide pip in our Windows app to prevent people breaking Spyder by installing any kind of packages with it.
The best way to use other packages that don't come with our app is to install Miniconda, create a conda environment after that with the packages you want to use and spyder-kernels, and finally connect Spyder to that env.
If you have python 3.4+ then pip should be installed with python.
To check that, you can run
pip help
in your windows command line.
However, if it isn't the case then download the get-pip.py file and run
python get-pip.py
and the pip installation should start. You can use pip help to verify this.
Another source of the problem might be that pip isn't listed in your PATH variables and thus isn't recognized by your command line.

Spyder failing to launch - “could not find or load the Qt platform plugin windows”

I've recently had to do a fresh install of windows and reinstall all the software I was previously using including anaconda.
I still have all the data from before the reinstall. To save me from pip installing all the packages I was using, I thought it would be easier to copy and paste the environment info from pre windows reinstall (left image) into the environment folder of the freshly installed anaconda (right).(Information/Folders in question)
I'm getting this error message when I try to launch Spyder.
Juypter notebook seems to be working fine but I get the error shown when I attempt to launch Sypder in the 'imported environment' TensorFlow1.8CPU.
Can anyone tell me how to resolve this?
I'm also open to hear any other ways of importing the environment from pre windows install anaconda folder.
I solved this problem by installing spyder with a lower version.

PyMesh Installation on Python 3.6 Windows

I am trying to install Pymesh on Python 3.6.
In my first try, I installed through pip, however it installed a wrong PyMesh than I wanted.
It installed the following, https://pypi.org/project/pymesh/, while I wanted https://pymesh.readthedocs.io/en/latest/
I uninstalled it, and tried installing the later PyMesh, however no luck. There were no instructions for windows. I downloaded the source from github. I extracted and pasted it in C:\Python36\Lib\site-packages
Then I ran python3 setup.py build - when an error showed up, I also tried python3 setup.py install, which worked. However, I am unable to do a simple basic command mentioned in the web page: https://pymesh.readthedocs.io/en/latest/basic.html
It is saying pymesh does not have module name load_mesh.
Looking for the process or thoughts on how to properly install pyMesh for Windows.
My go to solution for problems like this on Windows is always to try it in a conda env first. If that fails, use Docker.

Resources