Skip to content

How to set a different .CondaEnv directory? #511

Answered by Datseris
Datseris asked this question in Q&A
Discussion options

You must be logged in to vote

From here: https://github.com/JuliaPy/CondaPkg.jl?tab=readme-ov-file#conda-environment-path

it appears that if I set something like ENV["JULIA_CONDAPKG_ENV"] = "@python" before installing, it will use a shared environment instead.

But, for this to work I need to first install CondaPkg.jl by itself, so that it registers the above option. And then use also the option ENV["JULIA_CONDAPKG_BACKEND"] = "Current".

So, the solution is:

Set

ENV["JULIA_CONDAPKG_BACKEND"] = "Current"
ENV["JULIA_CONDAPKG_ENV"] = "@python"

in your startup.jl. Then Install CondaPkg by itself. Then install PythonCall.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Datseris
Comment options

Answer selected by Datseris
@cjdoris
Comment options

@Datseris
Comment options

@cjdoris
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants