Skip to content

Commit df4dd36

Browse files
committed
Fix nrn install error
1 parent ac46e1e commit df4dd36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

omv/engines/getnrn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
import sys
33
from subprocess import check_output as co
4-
from distutils.core import run_setup
54
from omv.common.inout import inform
65
from omv.common.inout import pip_install
76

@@ -57,4 +56,4 @@ def install_neuron(version):
5756
print(co(["make", "install"]))
5857

5958
os.chdir("src/nrnpython")
60-
run_setup("./setup.py", ["install"])
59+
print(co(["pip", "install", "."]))

0 commit comments

Comments
 (0)