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

Inconsistent error messages in conda create -n <env> when target exists #13247

Open
2 tasks done
dholth opened this issue Oct 26, 2023 · 0 comments
Open
2 tasks done

Inconsistent error messages in conda create -n <env> when target exists #13247

dholth opened this issue Oct 26, 2023 · 0 comments
Labels
source::anaconda created by members of Anaconda, Inc. type::bug describes erroneous operation, use severity::* to classify the type

Comments

@dholth
Copy link
Contributor

dholth commented Oct 26, 2023

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I interrupted an environment creation and tried to run it again using conda version : 23.9.1.dev32+g95b40e677.d20231026 on OSX.

Conda detects what I'm trying to do, asks if I want to continue doing it, and then aborts with a prefix already exists error.

(base) dholth@Daniels-MBP conda % CONDA_FETCH_THREADS=3 conda create -n tf tensorflow
WARNING: A directory already exists at the target location '/Users/dholth/prog/conda/devenv/Darwin/arm64/envs/devenv-3.11-c/envs/tf'
but it is not a conda environment.
Continue creating environment (y/[n])? y


CondaValueError: prefix already exists: /Users/dholth/prog/conda/devenv/Darwin/arm64/envs/devenv-3.11-c/envs/tf
@dholth dholth added the type::bug describes erroneous operation, use severity::* to classify the type label Oct 26, 2023
@travishathaway travishathaway added the source::anaconda created by members of Anaconda, Inc. label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source::anaconda created by members of Anaconda, Inc. type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants