我在PyCharm中通过abjad使用lilypond。我已将lilypond添加到我的PyCharm项目“ Applications / LilyPond.app / Contents / Resources / bin /”中的解释器路径
我尝试跑步
export PATH="$PATH:/Applications/LilyPond.app/Contents/Resources/bin/"
安装指南告诉我,但是它什么也没做。
这是我正在运行的示例代码。
notes = [abjad.Note("ds'16"), abjad.Note("cs'16"), abjad.Note("e'16"), abjad.Note("c'16")]
container = abjad.Container(notes)
abjad.show(container)
这就是我运行它时得到的东西
/Users/joshua/PycharmProjects/CS1610/venv/bin/python /Users/joshua/PycharmProjects/CS1610/TuneHarmonizer.py
dyld: Library not loaded: @executable_path/../lib//libintl.8.dylib
Referenced from: /Users/joshua/PycharmProjects/CS1610/venv/bin/lilypond
Reason: image not found
Tue Jul 9 00:15:47 2019
dyld: Library not loaded: @executable_path/../lib//libintl.8.dylib
Referenced from: /Users/joshua/PycharmProjects/CS1610/venv/bin/lilypond
Reason: image not found
Process finished with exit code 0