Skip to content

Commit 53e1ab6

Browse files
committed
use python 3.7
1 parent e84516c commit 53e1ab6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deps/build.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
using PyCall
22
using Conda
33
packages = Conda._installed_packages()
4-
if !("rmg" in packages) && !("rmgmolecule" in packages) && (PyCall.pyversion.major != 3 || PyCall.pyversion.minor != 8)
4+
if !("rmg" in packages) && !("rmgmolecule" in packages) && (PyCall.pyversion.major != 3 || PyCall.pyversion.minor != 7)
55
const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
6-
Conda.add("python=3.8")
6+
Conda.rm("mamba")
7+
Conda.add("conda=4")
8+
Conda.add("mamba")
9+
Conda.update()
10+
Conda.add("python=3.7")
711
try
812
Conda.rm("numpy") #get around MKL problem
913
catch e

0 commit comments

Comments
 (0)