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

Calling run with external-env should not check for project files #128

Open
AlbertDeFusco opened this issue Jul 19, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@AlbertDeFusco
Copy link
Contributor

Since the use of --external-env completely ignores any environment defined in the project we don't need to fail if no environment.yml or conda-project.yml file is found

> mkdir empty
> cd empty
> conda-project run --external-env base python -c 'import sys;print(sys.executable)'
CondaProjectError: No conda environment.yml or environment.yaml file was found.

This should instead return the path of the Python executable in your base conda env.

@AlbertDeFusco AlbertDeFusco added the bug Something isn't working label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant