Pdf 如何解决;电子书转换“;没有安装?
我想将.md转换为PDF,我遵循了以下步骤: 下载Calibre应用程序。将calibre.app移动到应用程序文件夹后,创建指向电子书转换工具的符号链接: $sudo ln-s~/Applications/calibre.app/Contents/MacOS/ebook-convert/usr/bin 然后我得到了这个:Pdf 如何解决;电子书转换“;没有安装?,pdf,gitbook,calibre,Pdf,Gitbook,Calibre,我想将.md转换为PDF,我遵循了以下步骤: 下载Calibre应用程序。将calibre.app移动到应用程序文件夹后,创建指向电子书转换工具的符号链接: $sudo ln-s~/Applications/calibre.app/Contents/MacOS/ebook-convert/usr/bin 然后我得到了这个: HF:The-North-Book wonderful$ sudo ln -s ~/Applications/calibre.app/Contents/MacOS/ebook
HF:The-North-Book wonderful$ sudo ln -s ~/Applications/calibre.app/Contents/MacOS/ebook-convert /usr/bin
Password:
ln: /usr/bin/ebook-convert: File exists
HF:The-North-Book wonderful$ PATH
-bash: PATH: command not found
HF:The-North-Book wonderful$ gitbook pdf ./ ./mybook.pdf
info: 7 plugins are installed
info: 6 explicitly listed
info: loading plugin "highlight"... OK
info: loading plugin "search"... OK
info: loading plugin "lunr"... OK
info: loading plugin "sharing"... OK
info: loading plugin "fontsettings"... OK
info: loading plugin "theme-default"... OK
info: found 26 pages
info: found 0 asset files
InstallRequiredError: "ebook-convert" is not installed.
Install it from Calibre: https://calibre-ebook.com
虽然我确实安装了calibre 2,但我不知道问题出在哪里。有人能帮我吗?你可以用自制软件安装它:
brew cask install calibre
如果您没有木桶:
brew tap caskroom/cask
那就正常使用吧
ebook-convert ~/path_to/file.pdf ~/new_file_path/gen_file.pdf (options)
到2021年,我对这个问题的答案是
brew点击自制/桶
然后
brew安装--cask-calibre