TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

Lattice Tools:Introductory example-----not compiling. #149

Closed Swagataacharya closed 10 years ago

Swagataacharya commented 11 years ago

Hi

I am just copying the 2D square lattice script and trying to run it. But it is not.

Error : ImportError Traceback (most recent call last) /home/swagata/triqs_install/bin/ in () ----> 1 from pytriqs.lattice.tight_binding import * 2 3 # Define the Bravais Lattice : a square lattice in 2d

  4 BL = BravaisLattice(Units = [(1,0,0) , (0,1,0) ], orbital_positions= {"" :  (0,0,0)} )
  5 

ImportError: No module named lattice.tight_binding

What's the status presently of this part?

aeantipov commented 11 years ago

Hi, Swagata. This means one of two options: (1) triqs is not properly installed. Check that the compilation went through without any errors, and all tests run by the command make test work. (2) If installation is ok, then check your PYTHONPATH - it might not see the actual triqs directory.

parcollet commented 10 years ago

No answer for a month. Considered as closed.