python - 为什么在 emacs 组织模式下禁用此 python 代码块的评估?

标签 python emacs org-mode evaluation

在 org-mode 的 python 源代码块中,按 C-c C-c 后,emacs 说

Evaluation of python source block is disabled

谁能解释一下为什么?

最佳答案

如果 org-mode 版本 >= 9,Simon 的回答是不正确的。这是另一个 question同样的问题。

解决方案

cd .emacs.d
cd elpa
cd org-xxxx
rm *.elc

那么,还是对org-xxxx的目录进行byte-recompile比较好。为此,启动 emacs,然后

C-0 M-x byte-recompile-directory RET ~/emacs.d/elpa/org-xxxx

详情请访问 here .

更新 1:EmacsWiki在编译文件上。

关于python - 为什么在 emacs 组织模式下禁用此 python 代码块的评估?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41408593/

相关文章:

python - 模数符号在这里起什么作用?

emacs - 如何在 Org 模式下进行内联注释?

python - Pandas 获得最高点积的索引

php - 如何在我现有的 Django Web 应用程序之上集成 wordpress 前端

python - 根据条件更改窗口 pyspark 数据框中的所有行值

emacs - 在 emacs 组织模式下捕获失败

emacs - 如何使用 org-mode "capture-refile"机制构建自己的词汇表?

异步命令后的 emacs 功能

emacs - Emacs 启动时菜单栏闪烁片刻

emacs - 我可以更改 emacs 的默认编译命令吗?