My server is running CentOS 5.8 and uses PYTHON 2.4
I installed an alternate version of PYTHON 2.7 to use to install node.js
I have followed several different tutorials to get to this point and need a little help to finish
i am in the node directory and used this command for configure
/usr/bin/env python2.7 ./configure
when I ran the make
command there was an error.
File "../../tools/js2c.py", line 387
except Error as e:
^
SyntaxError: invalid syntax
make[1]: *** [/root/node/out/Release/obj/gen/libraries.cc] Error 1
make[1]: Leaving directory `/root/node/out'
make: *** [node] Error 2
I believe that's because it's using the 2.4 version of python. How can I force the make
and make install
command use my alternate install of python 2.7?
I'm a complete beginner to linux commands.