I want to ask how to solve this error when I run “cgenff_charmm2gmx. py”
E:\1AKI>python cgenff_charmm2gmx.py JZ4 jz4_fix.mol2 jz4.str charmm36-mar2019.ff
NOTE 1: Code tested with Python 3.5.2 and 3.7.3. Your version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
NOTE 2: Code tested with NetworkX 2.3. Your version: 2.3
NOTE 3: Please be sure to use the same version of CGenFF in your simulations that was used during parameter generation:
–Version of CGenFF detected in jz4.str : 4.6
–Version of CGenFF detected in charmm36-mar2019.ff/forcefield.doc : 4.6
NOTE 4: To avoid duplicated parameters, do NOT select the ‘Include parameters that are already in CGenFF’ option when uploading a molecule into CGenFF.
Traceback (most recent call last):
File “cgenff_charmm2gmx.py”, line 1035, in
anglpars = read_gmx_anglpars(filename)
File “cgenff_charmm2gmx.py”, line 153, in read_gmx_anglpars
for line in f.readlines():
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x92 in position 7565: illegal multibyte sequence