提问人:aemilius89 提问时间:11/13/2023 更新时间:11/13/2023 访问量:11
Spyder 5.4.3 中的内核错误,env 中的 python 3.8
Kernel error in Spyder 5.4.3 with python 3.8 in env
问:
我只在我的环境中收到以下错误,而不是在我的基本环境中。我正在处理的项目需要这个版本的 python(版本 3.8.18),但由于时间很短,我在 Spyder 中出现以下内核错误。这发生在打开 spyder 后立即发生。
An error ocurred while starting the kernel
The error is:
Traceback (most recent call last):
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 2134, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle,
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\jupyter_core\utils\__init__.py", line 173, in wrapped
return loop.run_until_complete(inner)
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\jupyter_client\manager.py", line 96, in wrapper
raise e
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\jupyter_client\manager.py", line 87, in wrapper
out = await method(self, *args, **kwargs)
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\jupyter_client\manager.py", line 435, in _async_start_kernel
kernel_cmd, kw = await self._async_pre_start_kernel(**kw)
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\jupyter_client\manager.py", line 395, in _async_pre_start_kernel
self.provisioner = KPF.instance(parent=self.parent).create_provisioner_instance(
File "C:\Users\Gebruiker\anaconda3\envs\Statistics_Extraction\lib\site‑packages\jupyter_client\provisioning\factory.py", line 101, in create_provisioner_instance
provisioner: KernelProvisionerBase = provisioner_class(
TypeError: 'module' object is not callable
我尝试过更新 anaconda、重新安装 spyder、重置 spyder 并更新所有内容,但没有任何效果。请帮忙。 我还在stackoverflow上查看了一些类似的问题,但没有找到解决方案。
答: 暂无答案
评论