Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
xukai92 committed Mar 24, 2020
1 parent d8fab39 commit d50371a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deps/build.jl
Expand Up @@ -2,9 +2,7 @@ using PyCall, Conda, Pkg

getpip() = joinpath(split(PyCall.PYTHONHOME, ":")[end], "bin/pip")

try
run(`$(getpip()) list`)
catch
if !isfile(getpip())
println("`pip` is not available in the current PyCall.jl")
println("Configuring PyCall.jl to use Conda.jl")
ENV["PYTHON"] = joinpath(Conda.PYTHONDIR, "bin/python")
Expand Down

0 comments on commit d50371a

Please sign in to comment.