As far as I understand, you could just use conda:

Conda

Conda is a cross-platform package and environment manager that installs, runs, and updates packages and their dependencies. It allows you to easily set up and switch between environments on your local computer. Conda is included in all versions of Anaconda and Miniconda.

Anaconda is Python distribution that includes 150 installed of the most popular Python packages for science. Miniconda is an lighter alternative to Anaconda and comes just with Python and conda.

  1. Open a terminal and download Miniconda (or Anaconda) by running

    wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
    
  2. Install Miniconda with

    bash Miniconda3-latest-MacOSX-x86_64.sh
    

    and follow its instructions. Make sure that conda is in your PATH, which you can do by adding export PATH="$HOME/miniconda3/bin:$PATH" to your .bashrc or .bash_profile.

  3. Add the conda-forge channel and install Kwant and its dependencies with

    conda config --add channels conda-forge
    conda install kwant
    


On 23 Jan 2017, 21:34 +0100, Christoph Groth <christoph.groth@cea.fr>, wrote:
Hi Andrey,

Thanks for sharing your instructions. Do you see a way to
automatize this somehow, e.g. to provide Kwant packages for WSL?
Is it possible to install our regular Ubuntu Kwant packages [1] in
WSL?

Christoph

[1] https://kwant-project.org/install#ubuntu-and-derivatives