1、先在ubuntu下安装vpythonsudo apt-get install Python-visual
2、进入python导入模块from visual.text import *
3、输入代码:scene.title="HelloWorld"text(pos=(0,3,0),string='HELLOWORLD',color=color.orange,depth=-1,justify='center')text(pos=(0,0,0),string='HELLOWORLD',color=color.orange,depth=0,justify='center')text(pos=(0,-3,0),string='HELLOWORLD',color=color.orange,depth=1,justify='center')
4、可见下图
5、回车;可见下图
6、初步完成Vpython demo