使用Python进行Leapmotion

问题描述 投票:0回答:1

我运行这个项目想要获取手势数据。但它说提供的SDK遇到了SyntaxError。是不是我的python下载错了? the code in SDK providedThe problem I met

我下载了python2.7 32位。并按照 youtube 上的说明进行操作。我只是Python菜鸟。请帮助我。

python gesture leap-motion
1个回答
-1
投票

您下载的 Sample.py 文件确实存在语法错误,需要首先在第 11、14、24、27 行进行编辑,使 print 语句不带括号。

print "Some text" 
应该变成
print ("Some Text") 

如果没有代码作为文本,我现在不能说更多。

如果您对sample.py进行编辑并再次运行它,编译器应该为您提供更多信息来调试程序

© www.soinside.com 2019 - 2024. All rights reserved.