我遵循这个教程。http://abjad.mbrsi.org/for_beginners/abjad_hello_world_at_the_interpreter.html 我在虚拟环境中安装了abjad
$ pip install abjad
这是我的你好_世界.py文件:
from abjad import *
note = Note("b'8")
show(note)
当我在命令行中键入:
$(venv) C:\Gideon\Professional Education\djangoTutorialWithoutGal\hellodjango3>py thon hello_world.py hello_world.py file,
我看到这样的信息:
^{pr2}$为什么? 我检查了我的虚拟环境中是否安装了abjad。阿布贾德确实在名单中:
^{3}$我使用的是python2.4.5版本
(venv)C:\Gideon\Professional Education\djangoTutorialWithoutGal\hellodjango3>python
Python 2.4.5 (#1, Oct 6 2013, 18:41:07)
[GCC 4.1.1] on mingw32
如果我打字
$abjad hello_world.py
而不是
$python hello_world.py
然后文件运行,abjad从myhello创建一个pdf_世界.py文件并在我的计算机上打开它。pdf generated by abjad这就是应该发生的。在
我正在写一个django网络应用程序,并希望在应用程序中使用abjad。恐怕只有在python中访问abjad包时才能这样做。在
谢谢。在
目前没有回答
相关问题 更多 >
编程相关推荐