[gpaw-users] GPAW cannot be imported

masoomeh gh gh.phys at hotmail.com
Mon Nov 3 15:31:47 CET 2014


Hi again,
The problem is solved. A newly added PATH caused the problem.
Best regards,Masoomeh

From: gh.phys at hotmail.com
To: gpaw-users at listserv.fysik.dtu.dk
Subject: GPAW cannot be imported
Date: Mon, 3 Nov 2014 09:35:51 +0100




Hi,
Today, when I wanted to work with GPAW after a while I got the following error by running: from gpaw import *
Traceback (most recent call last):  File "<stdin>", line 1, in <module>  File "/usr/lib/python2.7/dist-packages/gpaw/__init__.py", line 239, in <module>    from gpaw.aseinterface import GPAW  File "/usr/lib/python2.7/dist-packages/gpaw/aseinterface.py", line 12, in <module>    from gpaw.paw import PAW  File "/usr/lib/python2.7/dist-packages/gpaw/paw.py", line 13, in <module>    from ase.calculators.calculator import kptdensity2monkhorstpackImportError: No module named calculator

I checked the package versions and apprently, they are file:
apt-cache policy gpaw | grep "\*\*\*" *** 0.10.0.11364 0apt-cache policy gpaw-setups | grep "\*\*\*" *** 0.9.11271 0

Please help to fix this.
Best regards,Masoomeh 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141103/d07121da/attachment.html>


More information about the gpaw-users mailing list