I was trying to install bandup (https://github.com/band-unfolding/bandup) in Quantum Espresso, to do the band unfolding calculations. However when I am trying to build it as recomendated it is showing the following errors. Can anyone help me how to fix this errors.
File "./build", line 26, in
from bandupy.files import mkdir
File "/home/ghosh/bandup/src/python_interface/bandupy/files.py", line 23, in
from scipy.constants import physical_constants
File "/opt/python/3.7.12/lib/python3.7/site-packages/scipy/__init__.py", line 131
raise ImportError(msg) from e
^
SyntaxError: invalid syntax
Thank You in advance