![](/img/trans.png)
[英]Emacs org-mode Python source blocks don't export with python-mode.el
[英]Emacs org-mode source block incorrectly parsed as link in export (unable to resolve link)
我無法導出帶有 python 源代碼塊的 emacs org 文件。 正確執行的源代碼塊中的部分代碼似乎被解析為鏈接。 導出失敗並顯示錯誤:
user-error: Unable to resolve link: "'Reading', 'Calibration'"
我嘗試刪除被解析為鏈接的代碼。 這並沒有解決問題。
這是唯一與“鏈接”匹配的行:
df[['Reading', 'Calibration']]
文檔中的任何地方都沒有此文本的其他實例。 否則,代碼塊都可以正常執行。 即使刪除此行后,錯誤仍然存在。 任何建議如何解決,或者這個錯誤可能是什么?
編輯:
我明白為什么仍然有這個刪除了代碼塊的“鏈接”。 在導出文件的末尾,我附上了糾結的代碼:
#+INCLUDE: "document.ipython" src python
有什么方法可以將這個糾結的代碼解釋為組織鏈接嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.