use sys.path.insert() instead of sys.path.append() to avoid conflicts with other python packages

This commit is contained in:
Axel Kohlmeyer
2022-08-25 07:25:13 -04:00
parent 50f7b98821
commit 04224e2b53
8 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@
import sys,os
path = os.environ["LAMMPS_PYTHON_TOOLS"]
sys.path.append(path)
sys.path.insert(1,path)
from dump import dump
from cfg import cfg