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 env create --force fails #318

Open
prjemian opened this issue Sep 11, 2024 · 2 comments · May be fixed by #316
Open

conda env create --force fails #318

prjemian opened this issue Sep 11, 2024 · 2 comments · May be fixed by #316
Labels
bug Something isn't working

Comments

@prjemian
Copy link
Contributor

User is following the installation instructions and creating a new conda environment. This interaction:

(base) [user@host bluesky]$ conda env create --force -n bluesky_2023_3 -f ./environments/environment_2023_3.yml --solver=libmamba
usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...
conda: error: unrecognized arguments: --force
@prjemian prjemian added the bug Something isn't working label Sep 11, 2024
@prjemian
Copy link
Contributor Author

It may be the conda version. On my home workstation, the --force option is available (as shown by conda env create --help):

(bstest) me@home:~/bluesky$ conda --version
conda 23.9.0

User reports a newer conda:

(base) user@workstation:~/bluesky$ conda --version
conda 24.7.1

The help for that version shows:

  -y, --yes             Sets any confirmation values to 'yes' automatically. Users will not be asked to confirm any adding, deleting, backups, etc.

@prjemian
Copy link
Contributor Author

Needs an instruction for different conda versions.

prjemian added a commit that referenced this issue Sep 20, 2024
prjemian added a commit that referenced this issue Sep 23, 2024
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

Successfully merging a pull request may close this issue.

1 participant