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

--copy argument no longer works with mamba create in v2.0 #3470

Closed
3 tasks done
thomashampson opened this issue Sep 26, 2024 · 2 comments · Fixed by #3474
Closed
3 tasks done

--copy argument no longer works with mamba create in v2.0 #3470

thomashampson opened this issue Sep 26, 2024 · 2 comments · Fixed by #3474

Comments

@thomashampson
Copy link

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Mambaforge or latest Miniforge

Search tried in issue tracker

copy

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

Since the move from 1.5.10 to 2.0 I get the following error when using the --copy argument when using mamba create:
The following argument was not expected: --copy

mamba info / micromamba info

mamba create --prefix $CONDA_ENV_PATH --copy --channel $CONDA_CHANNEL --channel conda-forge -y mantidworkbench m2w64-jq

Logs

The following argument was not expected: --copy

environment.yml

No response

~/.condarc

No response

@JohanMabille
Copy link
Member

JohanMabille commented Sep 26, 2024

You can use--always-copy instead. We will add the --copy flag for backward compatibility.

@thomashampson
Copy link
Author

You can use--always-copy instead. We will add the --copy flag for backward compatibility.

Thanks, I'll try that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants