Skip to content

Commit 8600590

Browse files
committed
tweak conda env reconstruction
1 parent 6a665a9 commit 8600590

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

deps/build.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ using PyCall
22
if PyCall.pyversion.major != 3 || PyCall.pyversion.minor != 7
33
using Conda
44
const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
5-
try
6-
Conda.add("python=3.7")
7-
catch e
8-
Conda.add("conda=22")
9-
Conda.add("python=3.7")
10-
end
5+
6+
Conda.add("conda=4")
7+
Conda.add("python=3.7")
118

129
try
1310
Conda.rm("numpy") #get around MKL problem

0 commit comments

Comments
 (0)