We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1348545 commit 1ab6787Copy full SHA for 1ab6787
.github/upstream/install_conda.sh
@@ -27,9 +27,9 @@ function install_and_setup_conda() {
27
fi
28
export CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
29
30
- # Accept Conda channel ToS.
31
- conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
32
- conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
+ # Accept Conda channels' ToS automatically.
+ # Ref: https://github.com/pytorch/pytorch/issues/158438#issuecomment-3084935777
+ export CONDA_PLUGINS_AUTO_ACCEPT_TOS="yes"
33
34
conda update -y -n base conda
35
conda install -y python=$PYTHON_VERSION
0 commit comments