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

Unversioned python in conda-unpack script shebang #307

Open
2 tasks done
aosingh opened this issue Jan 25, 2024 · 0 comments
Open
2 tasks done

Unversioned python in conda-unpack script shebang #307

aosingh opened this issue Jan 25, 2024 · 0 comments
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@aosingh
Copy link

aosingh commented Jan 25, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

While migrating conda environments from Oracle Linux 7 to Oracle Linux 8, we hit the following error:

./conda-unpack 
env: 'python': No such file or directory

The generated conda-unpack script uses the following shebang #!/usr/bin/env python Linux distributions discourage the use the unversioned python.

Could we generate the conda-unpack script to use the following shebang ?

#!/usr/bin/env python3

which is a standard way to do it

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

No response

@aosingh aosingh added the type::bug describes erroneous operation, use severity::* to classify the type label Jan 25, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant