From de94e28c8bcf07510f1f6426914a48c4231b6dd6 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 17 Dec 2020 21:48:04 -0500 Subject: [PATCH] correct path to find liblammps.dll with Windows installer package --- python/lammps/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lammps/core.py b/python/lammps/core.py index 161583b78c..c0cbaac533 100644 --- a/python/lammps/core.py +++ b/python/lammps/core.py @@ -77,7 +77,7 @@ class lammps(object): modpath = dirname(abspath(getsourcefile(lambda:0))) # for windows installers the shared library is in a different folder - winpath = abspath(os.path.join(modpath,'..','bin')) + winpath = abspath(os.path.join(modpath,'..','..','bin')) self.lib = None self.lmp = None