Conda.jl icon indicating copy to clipboard operation
Conda.jl copied to clipboard

Using pip within a Conda environment?

Open tk3369 opened this issue 5 years ago • 2 comments

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.

tk3369 avatar Dec 23 '19 20:12 tk3369

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.

dsweber2 avatar Feb 10 '20 21:02 dsweber2

You can close this as of #171

FPGro avatar Feb 25 '21 13:02 FPGro