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

Closed
prjemian opened this issue Sep 11, 2024 · 2 comments · Fixed by #316
Closed

conda env create --force fails #318

prjemian opened this issue Sep 11, 2024 · 2 comments · 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
prjemian added a commit that referenced this issue Oct 23, 2024
* MNT #215

* CI #316 suspend ruff lingint for now

* MNT #318 change --force to -y

* MNT update channels per Ts&Cs

* DOC #319 add requested guidance

* MNT #315 move most installs to pip

* DOC #316 changes

* MNT #316 drop defaults channel

* DOC #316 remove the pin on sphinx version

* ENV #316

* ENV #316 no pin on this python

* ENV #316 pin py<3.12 is more flexible

* DOC #215 update README
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