This is a minimal working example on how to use Conda inside Julia modules.
This includes an example on how to install packages not available from the
main repository of pip
(skfeature
package).
There are 2 main scenarios which depends on the value assigned to the env
variable in ENV["PYTHON"]
in julia REPL:
- to use Conda environment you need to set
ENV["PYTHON"] = ""
and then (re)buildPyCall
; - to use the main python environment you need to set
ENV["PYTHON"] = "/usr/bin/python"
and then (re)buildPyCall
and the install dependencies manually for you user usingpip
as you would normally do to them in python.