Skip to content

Commit e4ea3a1

Browse files
author
Christopher Doris
committed
document new Current backend to CondaPkg [skip ci]
1 parent 77ee463 commit e4ea3a1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/src/pythoncall.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,23 @@ path.
252252
If you also use PyCall, you can set `JULIA_PYTHONCALL_EXE=@PyCall` to use the same Python
253253
interpreter.
254254

255+
#### If you already have a Conda environment
256+
257+
```julia
258+
ENV["JULIA_CONDAPKG_BACKEND"] = "Current"
259+
ENV["JULIA_CONDAPKG_EXE"] = "/path/to/conda" # optional
260+
```
261+
262+
The Current backand to CondaPkg will use the currently activated Conda environment instead
263+
of creating a new one.
264+
265+
Note that this will still install any required Conda packages into your Conda environment.
266+
If you already have your dependencies installed and do not want the environment to be
267+
modified, then see the previous section.
268+
269+
If `conda`, `mamba` or `micromamba` is not in your `PATH` you will also need to set
270+
`JULIA_CONDAPKG_EXE` to its path.
271+
255272
#### If you already have Conda, Mamba or MicroMamba
256273

257274
```julia

0 commit comments

Comments
 (0)