Hi all,
I am a new user of kwant and I have some troubles in installing
kwant on the Enthought Canopy environment.
I have always used this environment for my numerical work with
Python and it is annoying to change it.
The downside is that it only supports Python 2.7 and not the latest
Python 3.x. This is the source of problems.
I follow the instructions in this webpage.
Essentially they ask to run the command 'pip install kwant' within
their Canopy Terminal.
If I try to do this I get the following error message
"""""
(Canopy 64bit) peottas1@penrose:/m/home/home5/50/peottas1/unix$ pip
install kwant
Collecting kwant
Downloading kwant-1.2.2.tar.gz (820kB)
100% |████████████████████████████████| 829kB 996kB/s
Complete output from command python setup.py egg_info:
This version of Kwant requires Python 3.4 or above.
Kwant 1.1 is the last version to support Python 2.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-build-VoZTHV/kwant/
"""
According to the install instructions in the Kwant homepage the pip
command should automatically install the Python 2 version, while the
command pip3 should install the Python 3 version.
However this does not seem the case. Moreover if I try to do a
search with pip I get the following
"""
(Canopy 64bit) peottas1@penrose:/m/home/home5/50/peottas1/unix$ pip
search kwant
kwant (1.2.2) - Package for numerical quantum transport
calculations (Python 3 version)
"""
so it seems that only kwant-1.2.2 is available for download. On the
contrary in the webpage "https://pypi.python.org/pypi/kwant" both
version 1.1.2 and 1.2.2 are available.
Can you give me some hint on how to solve the problem?
Best,
Sebastiano