use sys.path.insert() instead of sys.path.append() to avoid conflicts with other python packages
This commit is contained in:
@ -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 xyz import xyz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user