./diff2HtmlCompare.py: line 30: from: command not found
Hi,
I really like your project but I'm having problem trying to run it on my linux machine. The installation went well with no erro but when I try to run:
./diff2HtmlCompare.py file1 file2
I got this:
./diff2HtmlCompare.py: line 30: from: command not found
./diff2HtmlCompare.py: line 31: from: command not found
./diff2HtmlCompare.py: line 32: from: command not found
./diff2HtmlCompare.py: line 33: from: command not found
./diff2HtmlCompare.py: line 36: PYGMENTS_STYLES: command not found
./diff2HtmlCompare.py: line 60: syntax error near unexpected token (' ./diff2HtmlCompare.py: line 60: '
The pygments are ok: [mex@hope diff2HtmlCompare-master]$ pip install pygments Requirement already satisfied: pygments in /usr/lib64/python2.7/site-packages (2.1.3)
What is it wrong with my procedure? Thanks, M
My bad. I should use "python" and not make the script executable