hasen's tech life

Twitter: @hasen

nodebrew installでSyntaxErrorが出たので.

# error
$ nodebrew install 0.12.7
> File "./configure", line 362
  ''
  ^
> SyntaxError: Missing parentheses in call to 'print''

# errorを見るにPythonのヴァージョン違いが原因と予想.
$ python --version
> Python 3.4.2
$ pyenv global 2.7.9
$ python --version
> Python 2.7.9

$ nodebrew install 0.12.7