Skip to content

Commit

Permalink
Fix R-based Windows install
Browse files Browse the repository at this point in the history
The mkl package was causing an issue with trying to load OMP more than
once.

See weecology/DeepForest#391 for details

Fixes #391
  • Loading branch information
ethanwhite committed Mar 4, 2023
1 parent a9d94e2 commit e10c158
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ If installing on Windows you need to [install RTools](https://cran.r-project.org
install.packages('reticulate') # Install R package for interacting with Python
reticulate::install_miniconda() # Install Python
reticulate::py_install(c('gdal', 'rasterio', 'fiona')) # Install spatial dependencies via conda
reticulate::conda_remove('r-reticulate', packages = c('mkl')) # Remove package that causes conflicts on Windows (and maybe macOS)
reticulate::py_install('DeepForest', pip=TRUE) # Install the Python retriever package
devtools::install_github('weecology/deepforestr') # Install the R package for running the retriever
install.packages('raster') # For visualizing output for rasters
Expand Down

0 comments on commit e10c158

Please sign in to comment.