Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./diff2HtmlCompare.py: line 30: from: command not found #10

Open
mcanonic opened this issue Jun 21, 2019 · 1 comment
Open

./diff2HtmlCompare.py: line 30: from: command not found #10

mcanonic opened this issue Jun 21, 2019 · 1 comment

Comments

@mcanonic
Copy link

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

@mcanonic
Copy link
Author

My bad. I should use "python" and not make the script executable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant