无法启动apache风暴。
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 ~]#
答案 0 :(得分:0)
这适用于我在Python 3.4上安装的Redhat 6。我将/bin/storm
文件中的哈希包从:#!/usr/bin/python
更改为:#!/usr/bin/env python