Conda.jl
Conda.jl copied to clipboard
Using pip within a Conda environment?
Is it possible to install packages using pip
in a Conda.jl environment?
Occasionally, I have do that when a conda package isn't available. With miniconda (outside of Julia), I am still able to use pip
from once the Conda environment is activated. Of course, I would be using the pip
binary from the same environment.
I have done this via the run command directly via something like
root = Conda.ROOTENV
pipPath = joinpath(root, "bin", "pip")
run(`$(pipPath) install nameOfPackage`)
as far as I could tell, there isn't a function for it in Conda.jl, though based on my reading of the functions in Conda.jl this would operate in a similar manner.
You can close this as of #171