Error when importing 'from irff.reax import ReaxFF'
Opened this issue · 0 comments
Hi,
I have installed I-ReaxFF according to your document. I then followed your instructions to do the example in the manual. However, I get an error when I run 'from irff.reax import ReaxFF' through JupyterNotebook:
import matplotlib
matplotlib.use('Agg')
from os import system, getcwd, chdir,listdir
from os.path import isfile # exists
import argh
import argparse
from irff.reax import ReaxFF
from irff.mpnn import MPNN
from irff.reaxfflib import read_lib,write_lib
ModuleNotFoundError Traceback (most recent call last)
Input In [1], in <cell line: 7>()
5 import argh
6 import argparse
----> 7 from irff.reax import ReaxFF
8 from irff.mpnn import MPNN
9 from irff.reaxfflib import read_lib,write_lib
File ~/.local/lib/python3.8/site-packages/irff-1.4.1-py3.8-linux-x86_64.egg/irff/reax.py:5, in
3 from os import system, getcwd, chdir,listdir,environ,makedirs
4 from os.path import isfile,exists,isdir
----> 5 from .md.gulp import write_gulp_in,get_reax_energy
6 from .reax_data import get_data
7 from .link import links
File ~/.local/lib/python3.8/site-packages/irff-1.4.1-py3.8-linux-x86_64.egg/irff/md/init.py:8, in
6 from ..irff import IRFF
7 from .irmd import IRMD
----> 8 from ..plot import view
9 from ase.io.trajectory import Trajectory
10 import numpy as np
ModuleNotFoundError: No module named 'irff.plot'
How can I fix this?
Best regards,
Jerry