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

bad interpreter #15

Open
m1ndcr4ck opened this issue Oct 25, 2022 · 0 comments
Open

bad interpreter #15

m1ndcr4ck opened this issue Oct 25, 2022 · 0 comments

Comments

@m1ndcr4ck
Copy link

m1ndcr4ck commented Oct 25, 2022

I changed my python path on Linux and unfortunately I was getting this error:

bad interpreter: /usr/bin/python3^M: no such file or directory

However I could fix it with this command:

tr -d '\r' < nmap_xml_parser.py > nmap_xml_parserv2.py

This removes the carriage returns created from Windows.

Hope this helps someone.

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