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

Conda support on activate_script #9435

Open
cmrqs opened this issue Dec 3, 2024 · 0 comments · May be fixed by #9436
Open

Conda support on activate_script #9435

cmrqs opened this issue Dec 3, 2024 · 0 comments · May be fixed by #9436

Comments

@cmrqs
Copy link

cmrqs commented Dec 3, 2024

Is your feature request related to a problem? Please describe.
#9273 introduces venv support when submitting jobs to a queue using an activation script. It would be nice to support conda as well.

Describe the solution you'd like
Currently, the environment variable VIRTUAL_ENV is used to activate venv. A similar CONDA_ENV variable could be used for the same purpose for conda.

Describe alternatives you've considered
I could change the entire project to use venv as well, but it's impractical.

Additional context
Multiple virtual environments can't be active at once (e.g. venv and conda simultaneously). If both environment variables are set, one must take precedence over the other.

@cmrqs cmrqs linked a pull request Dec 3, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants