Hi again,
I had to reinstall Kwant 1.3 and Tinyarray, but I get the following error message when I try to run a script using conservation_laws (script is included at the end):
/usr/local/lib/python3.5/dist-packages/matplotlib-2.0.2+4130.g8ae0dbf-py3.5-linux-x86_64.egg/matplotlib/backends/backend_gtk3agg.py:18: UserWarning: The Gtk3Agg backend is known to not work on Python 3.x with pycairo. Try installing cairocffi.
"The Gtk3Agg backend is known to not work on Python 3.x with pycairo. "
Traceback (most recent call last):
File "/home/camilla/spinHall/Kwant/Tests/spin_kwant13.py", line 45, in <module>
syst = make_system(t=1.0, W=10, L=10)
File "/home/camilla/spinHall/Kwant/Tests/spin_kwant13.py", line 37, in make_system
syst.attach_lead(lead)
File "/home/camilla/.local/lib/python3.5/site-packages/kwant/builder.py", line 1402, in attach_lead
self.leads.append(BuilderLead(lead_builder, tuple(interface)))
File "/home/camilla/.local/lib/python3.5/site-packages/kwant/builder.py", line 566, in __init__
self.interface = tuple(sorted(interface))
TypeError: unorderable types: tinyarray.ndarray_int() < tinyarray.ndarray_int()
I used pip to install both kwant and tinyarray, using the commands in the notebook here:
http://nbviewer.jupyter.org/url/antonakhmerov.org/misc/spin_conductance.ipynb
The versions that pip tells me I have is: