Dear LAMMPS users:
I got a problem in running moltemplate. The issue was reported in the maillist earlier, but not solved. Could anyone give me some suggestions? Thank you.
I use pip to install moltemplate on my macOS (Mojave 10.14.1) and CentOS linux
pip install moltemplate
The python distribution is
Python 3.6.4 :: Anaconda, Inc.
Then when I run the examples by
sh README_remove_irrelevant_info.sh
sh README_setup.sh
the following errors were reported
Looking up partial charge contributions from bonds
python: can’t open file ‘/Users/xuzp/anaconda3/bin/charge_by_bond.py’: [Errno 2] No such file or directory
mv: rename system.data to …/system.data: No such file or directory
mv: rename system.in* to …/system.in*: No such file or directory
If I copy the file charge_by_bond.py from the src directory to the installed directory, the following error msg will be reported
Looking up partial charge contributions from bonds
Traceback (most recent call last):
File “/Users/xuzp/anaconda3/bin/charge_by_bond.py”, line 17, in
from . import ttree_lex
ImportError: cannot import name ‘ttree_lex’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/xuzp/anaconda3/bin/charge_by_bond.py”, line 21, in
import ttree_lex
ModuleNotFoundError: No module named ‘ttree_lex’
mv: rename system.data to …/system.data: No such file or directory
mv: rename system.in* to …/system.in*: No such file or directory
Thank you.
Best,
Zhiping