gpt4 book ai didi

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

转载 作者:太空狗 更新时间:2023-10-29 22:18:10 24 4
gpt4 key购买 nike

在 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com