29 Aug
2016
29 Aug
'16
12:30 p.m.
Hi Cheryne, I think you are not in the correct environment in Spyder, one in which you didn't install kwant. How did you install your Python and kwant? One easy thing to get everything running is to use Anaconda and then install kwant with: conda install -c basnijholt kwant=1.2.2 Best, Bas On Mon, Aug 29, 2016 at 2:21 PM, Cheryne <cjonay@princeton.edu> wrote:
Hi Kwant-Team!
I'm having trouble to "import kwant" via iPython interfaces (Spyder). I can run the python script via "python scriptname.py" but when I try "spyder" and then "scriptname.py" I get the error "no module named kwant". Do you know what I have to do so that iPython recognizes the module?
Thank you, Cheryne