-
Notifications
You must be signed in to change notification settings - Fork 6
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
Shebang of euler2 #15
Comments
Same issue in other executables such as y2d |
I like the idea to make it explicit that we require Python2 rather than Python3. And it seems the change has been made, but now I get a new problem: python2 isn't found! I tried to create a symlink, but that didn't work either. What's the right way to create an executable python2 command for euler2? See below for my unsuccessful attempts:
|
Instead of a link, try creating a bash script python2 that forwards to the python binary.
|
I want to suggest to changing shebang from #!/usr/bin/env python to #!/usr/bin/env python2
#!/usr/bin/env python2 makes explicit which version is required. Users with a setup of both python2 and python3 have a choice whether they want to link their python to python2 or python3
The text was updated successfully, but these errors were encountered: