Skip to content

Commit

Permalink
Update installation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykironde committed May 12, 2024
1 parent b5630f5 commit 720847b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,23 @@ Alternatively you can select the Python environment through the `reticulate` pac

```R
library(reticulate)
use_conda('name_of_conda_environment')
conda_create("name_of_environment")

# install Python packages e.g SciPy, deepforest
conda_install("name_of_environment", "scipy", "deepforest")
use_condaenv('name_of_environment')
```

or `virtualenv`:

```R
library(reticulate)
use_virtualenv("path_to_virtualenv_environment")
# create a new environment
virtualenv_create("name_of_environment")

# install Python packages
virtualenv_install("name_of_environment", "scipy", "deepforest")
use_virtualenv("name_of_environment")
```

You can check to see which Python environment is being used with:
Expand Down

0 comments on commit 720847b

Please sign in to comment.