-
Notifications
You must be signed in to change notification settings - Fork 506
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
cli.py is marked executable but is missing a shebang #1590
Comments
Can you elaborate on what you mean by both situations? Does is resolve the entry point error? |
We haven't got one because we don't recommend people run If we want to do add the line anyhow, I'd suggest we go with something more system-neutral (Incidentally, if you want to run something without a shebang you can always use |
A comment would probably be more useful, or rather some sort of warning about running |
Looking at the docs, I don't think we've been unclear about how to run the tool, but in the interest of making this easier let's do the following:
|
This seems like a good course of action |
A comment would probably be more useful, or rather some sort of warning
about running ```./cli.py``` directly. I was just confused seeing it be
marked executable and was then promptly confused when it didn't run
right, so created the issue to get some more clarification.
|
I was encountering issue #1323, so I executed the program by directly calling
./cli.py
, however I would get an error on line 13 due to the big comment block there. Upon further inspection I found that there was no shebang in the file, and upon adding one (#!/usr/bin/env python3.9
), it worked just fine. In both situations,python3.9 cli.py
works.I decided to create an issue to gather some feedback on what should be done:
The text was updated successfully, but these errors were encountered: