Apache storm storm无法以normclasspath启动

Apache storm storm无法以normclasspath启动,apache-storm,Apache Storm,无法启动apache storm root@localhost ~]# storm nimbus File "/home/mahendra/storm/bin/storm", line 51 normclasspath = cygpath if sys.platform == 'cygwin' else identity ^ SyntaxError: invalid syntax [root@localhost ~]# [

无法启动apache storm

root@localhost ~]# storm nimbus
  File "/home/mahendra/storm/bin/storm", line 51
    normclasspath = cygpath if sys.platform == 'cygwin' else identity
                             ^
SyntaxError: invalid syntax
[root@localhost ~]#


[root@localhost ~]# python -V
Python 2.7
[root@localhost ~]#

这适用于我在Python 3.4上安装的Redhat 6。我将/bin/storm文件中的hashbag更改为:/usr/bin/python to:/usr/bin/env python