本文介绍了AssertionError:找不到类NSProcessInfo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

在Python 3.6(可能也是3.7)下运行Jupyter Lab内核会抛出:

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

AssertionError:找不到类NSProcessInfo

在Python 3.8中运行正常.

Running in Python 3.8 works fine.

推荐答案

显然,此问题仅在具有Big Sur OS的Mac上发生.已解决此问题,但您可以通过使用pip代替conda安装Jupyter Lab来解决此问题.

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

请参阅以下参考资料: https://github.com/jupyterlab/jupyterlab/issues/9410

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

这篇关于AssertionError:找不到类NSProcessInfo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 11:13