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

'demo_opts.py' Files cannot be executed directly #171

Open
Hgnim opened this issue Aug 7, 2024 · 1 comment
Open

'demo_opts.py' Files cannot be executed directly #171

Hgnim opened this issue Aug 7, 2024 · 1 comment

Comments

@Hgnim
Copy link

Hgnim commented Aug 7, 2024

I found that this file is missing a line of code, which causes the .py file to be executed with bash by default.

Add the following code to the file:
#!/usr/bin/env python

@Hgnim
Copy link
Author

Hgnim commented Aug 7, 2024

If the code isn't meant to run directly, consider removing the file's execution privileges.

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