在Windows上安装oTree

重要提示

如果你发表了使用oTree完成的研究,须引用 这篇论文。 (Citation: Chen, D.L., Schonger, M., Wickens, C., 2016. oTree - An open-source platform for laboratory, online and field experiments. Journal of Behavioral and Experimental Finance, vol 9: 88-97)

如果按照下面的步骤你无法正常安装oTree,请用电子邮件将详情发往chris@otree.org。

步骤1:安装Python

下载并安装 Python

选中下面的方框以将Python添加进PATH:

_images/py-win-installer-37.png

步骤2:安装oTree

打开你想要存储oTree项目的文件夹。单击“文件”菜单并打开PowerShell:

_images/open-powershell.png

在命令行窗口输入下面的命令:

pip3 install -U otree

后续步骤

If you will use oTree Studio (easiest option), go to otreehub.com. Your department may have an existing subscription, so you should check with them (or they can get one at otreehub.com/subscription).

Read: why you should use oTree Studio.

If you are experienced in Python and are comfortable with resolving programming errors on your own, you can use oTree with a text editor.