Skip to content

conda channel Terms of Service error #1820

@xgirouxb

Description

@xgirouxb

Hello, I've tried running reticulate::install_miniconda() and end up with the same error as below. I've also tried installing miniconda as well as installing manually, specifying the path to conda in .Rprofile b ut I end up where I started when I try and create an environment. Could this somehow be related to scikit-learn/scikit-learn#31773 ?

reticulate::conda_create()
#> + "C:/Users/xgirouxb/AppData/Local/r-miniconda/condabin/conda.bat" create --yes --name r-reticulate "python=3.10" --quiet -c conda-forge

#> CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
#>     • https://repo.anaconda.com/pkgs/main
#>     • https://repo.anaconda.com/pkgs/r
#>     • https://repo.anaconda.com/pkgs/msys2
#> 
#> To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
#>     ‣ conda tos accept --override-channels --channel CHANNEL
#> 
#> To remove channels with rejected Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
#>     ‣ conda config --remove channels CHANNEL

#> Error: Error creating conda environment 'r-reticulate' [exit code 1]

Created on 2025-07-29 with reprex v2.1.1

Session info

sessionInfo()
#> R version 4.5.0 (2025-04-11 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 22631)
#> 
#> Matrix products: default
#>   LAPACK version 3.12.1
#> 
#> locale:
#> [1] LC_COLLATE=English_Canada.utf8  LC_CTYPE=English_Canada.utf8   
#> [3] LC_MONETARY=English_Canada.utf8 LC_NUMERIC=C                   
#> [5] LC_TIME=English_Canada.utf8    
#> 
#> time zone: America/Toronto
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] digest_0.6.37     fastmap_1.2.0     Matrix_1.7-3      xfun_0.52        
#>  [5] lattice_0.22-6    reticulate_1.43.0 rappdirs_0.3.3    glue_1.8.0       
#>  [9] knitr_1.50        htmltools_0.5.8.1 png_0.1-8         rmarkdown_2.29   
#> [13] lifecycle_1.0.4   cli_3.6.5         grid_4.5.0        reprex_2.1.1     
#> [17] withr_3.0.2       compiler_4.5.0    rstudioapi_0.17.1 tools_4.5.0      
#> [21] evaluate_1.0.3    Rcpp_1.0.14       yaml_2.3.10       jsonlite_2.0.0   
#> [25] rlang_1.1.6       fs_1.6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions