diff --git a/lib/colvars/Install.py b/lib/colvars/Install.py index a367b8eeed95b42c0b76c4f931bc66c955d78ba5..5b6b15dc3b6cc609136c738f43c96e19ce22e025 100644 --- a/lib/colvars/Install.py +++ b/lib/colvars/Install.py @@ -126,9 +126,9 @@ fp.close() print("Building lib%s.a ..." % lib) cmd = ["make -f Makefile.auto clean"] -print(subprocess.check_output(cmd, shell=True)) +print(subprocess.check_output(cmd, shell=True).decode()) cmd = ["make -f Makefile.auto -j12"] -print(subprocess.check_output(cmd, shell=True)) +print(subprocess.check_output(cmd, shell=True).decode()) if os.path.exists("lib%s.a" % lib): print("Build was successful") else: error("Build of lib/%s/lib%s.a was NOT successful" % (lib,lib))