Installing sklearn doesn't work with either py_install or conda_install
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.8k
- Forks
- 349
- Avg merge
- 5h 13m
- Merged PRs (30d)
- 4
Description
py_install and conda_install worked for pandas but for sklearn, it throws me an error. The whole error doesn't show up in reprex which I've copied and pasted from the console directly.
library(reticulate)
py_install("sklearn")
#> Error: Error 1 occurred installing packages into conda environment r-reticulate
conda_install("r-reticulate", "sklearn")
#> Error: Error 1 occurred installing packages into conda environment r-reticulate
sessionInfo()
#> R version 3.6.1 (2019-07-05)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 16299)
#>
#> Matrix products: default
#>
#> locale:
#> [1] LC_COLLATE=English_United States.1252
#> [2] LC_CTYPE=English_United States.1252
#> [3] LC_MONETARY=English_United States.1252
#> [4] LC_NUMERIC=C
#> [5] LC_TIME=English_United States.1252
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] reticulate_1.13.0-9003
#>
#> loaded via a namespace (and not attached):
#> [1] Rcpp_1.0.2 digest_0.6.21 rappdirs_0.3.1 jsonlite_1.6
#> [5] magrittr_1.5 evaluate_0.14 highr_0.8 rlang_0.4.0
#> [9] stringi_1.4.3 rmarkdown_1.16 tools_3.6.1 stringr_1.4.0
#> [13] xfun_0.10 yaml_2.2.0 compiler_3.6.1 htmltools_0.4.0
#> [17] knitr_1.25
Error copied from console
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
PackagesNotFoundError: The following packages are not available from current channels:
- sklearn
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure from the issue using py_install("sklearn") and conda_install("r-reticulate", "sklearn") on Windows. Review how these entry points pass package names to Conda and compare the captured solver output. Done means the requested package installs successfully or the failure is reported with actionable guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, python, r, scikit-learn
- Domain
- machine-learning, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100