Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AssertionError: Couldn't find Class NSProcessInfo

Running a Jupyter Lab kernel under Python 3.6 (possibly also 3.7) throws:

AssertionError: Couldn't find Class NSProcessInfo

Running in Python 3.8 works fine.

like image 759
roy650 Avatar asked Dec 08 '20 10:12

roy650


2 Answers

Apparently this issue occurs only on Mac with Big Sur OS. This issue was filed for correction but you can work around it by installing the Jupyter Lab using pip instead of conda.

pip install jupyterlab

See this reference: https://github.com/jupyterlab/jupyterlab/issues/9410

like image 175
roy650 Avatar answered Nov 14 '22 19:11

roy650


If you use Conda environment, create with python 3.7 version at first. and install the jupyterlab with pip

(Example: "rdkit" environment)

 conda create -n rdkit python=3.7.9
 conda activate rdkit

 pip install jupyterlab

 # and then 
 jupyter lab --ip=0.0.0.0 --port=8800 --no-browser
like image 1
Brandon Avatar answered Nov 14 '22 20:11

Brandon