We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The base environment of conda is often not something that should be installed into as it can break conda.
It appears you can detect if the base environment is currently activated if CONDA_PREFIX_1 is not set and/or CONDA_DEFAULT_ENV is equal to base (on very old versions of conda this was named root) : https://conda.io/projects/conda/en/latest/dev-guide/deep-dives/activation.html#conda-activate
CONDA_PREFIX_1
CONDA_DEFAULT_ENV
base
root
Perhaps worth requiring users to use --system to install into this base conda environment?
--system
The text was updated successfully, but these errors were encountered:
uv pip install
Treat the base Conda environment as a system environment (#7691)
2777324
Closes #7124 Closes #7137
0a985f4
248e9f7
Successfully merging a pull request may close this issue.
The base environment of conda is often not something that should be installed into as it can break conda.
It appears you can detect if the base environment is currently activated if
CONDA_PREFIX_1
is not set and/orCONDA_DEFAULT_ENV
is equal tobase
(on very old versions of conda this was namedroot
) : https://conda.io/projects/conda/en/latest/dev-guide/deep-dives/activation.html#conda-activatePerhaps worth requiring users to use
--system
to install into this base conda environment?The text was updated successfully, but these errors were encountered: