skw interpoltor error

Deals with issues related to computation of optical spectra in reciprocal space: RPA, TDDFT, local field effects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

Post Reply
sitangshu
Posts: 193
Joined: Thu Jan 05, 2017 8:08 am

skw interpoltor error

Post by sitangshu » Thu May 14, 2020 11:09 am

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
Sitangshu Bhattacharya
Indian Institute of Information Technology-Allahabad
India
Web-page: http://profile.iiita.ac.in/sitangshu/
Institute: http://www.iiita.ac.in/

User avatar
amolina
Posts: 135
Joined: Fri Jul 15, 2011 11:23 am
Location: Valencia, Spain
Contact:

Re: skw interpoltor error

Post by amolina » Thu May 14, 2020 1:20 pm

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.
Alejandro Molina-Sánchez
Institute of Materials Science (ICMUV)
University of Valencia, Spain

Post Reply