MacOS 无法配置 pandoc

本贴最后更新于 204 天前,其中的信息可能已经时移世易

这个用不了:

image.png

这个路径没法输进思源里:

> which pandoc                                                                                                                            
/opt/homebrew/bin/pandoc

↑ 因为思源无法直接粘贴一个路径进去,必须用 browse 的方式来选择 pandoc

  • 思源笔记

    思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。

    融合块、大纲和双向链接,重构你的思维。

    18843 引用 • 70556 回帖 • 2 关注

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...
  • deerain@MBA ~/D/S/t/p/bin> /usr/sbin/softwareupdate --install-rosetta --agree-to-license                                                                 (base)
    By using the agreetolicense option, you are agreeing that you have run this tool with the license only option and have read and agreed to the terms.
    If you do not agree, press CTRL-C and cancel this process immediately.
    2023-10-13 22:13:57.382 softwareupdate[13058:1086524] Package Authoring Error: 042-55575: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute
    Install of Rosetta 2 finished successfully
    
    
    deerain@MBA ~/D/S/t/p/bin> ./pandoc                                                                                                                      (base)
    rosetta error: /var/db/oah/bea190a445677a91c8e2679190443c71b549931b652b83421968d2b7eefc54f6/1f5c4635796b44fd7c5682f0c44a6fe75c3958b982f4c81971b2b5334fd932ea/pandoc.aot: attachment of code signature supplement failed: 1
    fish: Job 1, './pandoc' terminated by signal SIGTRAP (Trace or breakpoint trap)
    
    1 回复
  • 其他回帖
  • 88250

    试下把工作空间 temp 那个 pandoc 文件夹删除后重启思源。

    1 回复
  • M2 芯片,手动执行这个文件:

    image.png

    1 回复
  • 88250 1

    我这里安装 rosetta 以后可以正常运行这个 pandoc 命令……

    这样吧,我们先改进一下设置方式,直接使用文本路径好了 Issue #9427 · siyuan-note/siyuan 感谢反馈。

  • 查看全部回帖