本文介绍了%load_ext rpy2.ipython 导致“内核似乎已经死了.它将自动重新启动"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 jupyter 笔记本中
In a jupyter notebook
%load_ext rpy2.ipython
导致内核崩溃.
"内核似乎已经死了.它将自动重新启动."
带有以下控制台消息
Error in `::`(base, quote) : could not find function "::"
Error in `::`(base, quote) : could not find function "::"
Error in `:::`(compiler, checkCompilerOptions) :
could not find function ":::"
Fatal error: unable to initialize the JIT
有任何线索吗?我试过清理我的 R 安装并从头开始.每次都出现同样的错误.
Any clues on this? I've tried cleaning out my R installation and starting from scratch. Same error, every time.
Mac 操作系统 10.14.6蟒蛇 3.8R 版本 4.1.0 (2021-05-18)rpy2-3.4.4jupyter-1.0.0
Mac OS 10.14.6python 3.8R version 4.1.0 (2021-05-18)rpy2-3.4.4jupyter-1.0.0
推荐答案
谢谢@krassowski 我的python38 安装搞砸了.卸载python和pip安装的所有包,然后用python39重新启动.修复了问题.
Thanks @krassowski my python38 installation was messed up. Uninstalled python and all packages installed by pip and started again with python39. Fixed the problem.
这篇关于%load_ext rpy2.ipython 导致“内核似乎已经死了.它将自动重新启动"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!