SystemError:父模块“ setuptools”未加载,无法执行相对导入,jupyterhub

时间:2020-09-01 12:07:44

标签: python jupyter-notebook setuptools jupyterhub

我正在运行juypterhub,尽管终端运行正常,但我的所有内核都无法重新启动。我经历了其他一些答案,并将setup tools降级为49.3.0,但仍然无法重新启动内核。

服务器上的错误是:

SystemError:父模块“ setuptools”未加载,无法执行 相对进口

Python - 3.5.2

该如何解决?

1 个答案:

答案 0 :(得分:0)

您可以使用此临时替代方法。在终端中运行

export SETUPTOOLS_USE_DISTUTILS=stdlib