use sys.path.insert() instead of sys.path.append() to avoid conflicts with other python packages
This commit is contained in:
@ -14,7 +14,7 @@ from __future__ import print_function
|
||||
|
||||
import sys,os,argparse
|
||||
path = os.environ["LAMMPS_PYTHON_TOOLS"]
|
||||
sys.path.append(path)
|
||||
sys.path.insert(1,path)
|
||||
from log import log
|
||||
|
||||
# set up arg parser
|
||||
|
||||
Reference in New Issue
Block a user