Page 1 of 1

skw interpoltor error

Posted: Thu May 14, 2020 11:09 am
by sitangshu
Dear yambo guys,

I encounter one error:
Traceback (most recent call last):
File "plot-excitondb.py", line 53, in <module>
exc_bands_inter = yexc.interpolate(save,path,states,lpratio=5,f=None,size=0.5,verbose=True)
File "/usr/local/lib/python2.7/dist-packages/yambopy-0.1-py2.7.egg/yambopy/dbs/excitondb.py", line 458, in interpolate
from abipy.core.skw import SkwInterpolator
ImportError: No module named abipy.core.skw

while trying to plot the exciton weights along band structure. Is python 3.7 necessary for this? I already installed the libraries abipy, scipy, numpy, matplotlib.
But the skw interpolator error seems to come again and again...

Regards

Re: skw interpoltor error

Posted: Thu May 14, 2020 1:20 pm
by amolina
Dear Sitangshu,
to avoid this error you have to install abipy.
Check that you have the module of SkwInterpolator.
The only way to avoid this without installing abipy is to represent the exciton weigths without interpolation.
Cheers,
Alejandro.

PS: Please, post yambopy issues in the corresponding thread. I will move this issue there.