Skip to content
Snippets Groups Projects
install-manual-detailed.md 5.74 KiB

!! This guide is not finished, and might contain innacuracies. Please report any mistakes/bugs by creating an issue. This is a WIP (Work In Progress) !!

Detailed Installation Manual

Installing Python packages with compiled extensions can be a challenge especially on Windows systems. However, when using Miniconda things can be simplified to a great extent as this manual hopefully will show you.

The this approach will require you to use the command line, but it is as easy as copy-pasting them from this page straight into your command prompt.

Installation instructions follow in alphabetical orderby platorm.

Linux

  • Basic dependencies:

python (3.5 recommended) git gcc gcc-fortran (gfortran)

  • Use either your system package manager, pip + virtualenv, or Anaconda to install the following python dependencies:

numpy, cython, scipy, pandas, matplotlib, pyscaffold, future, nose, sphinx, xlrd, (py)tables, h5py, pytest, pytest-cov, setuptools_scm, setuptools

Note that often the pytables packages is called python-tables instead of python-pytables.

Dependencies on Mac

People who now how to handle Python on the Mac side are kindly requested to complete this guide :-)

Dependencies on Windows

A Python installation with compilers is required. If you already have this, or know how set up such an environment, you skip to here.

Microsft Visual Studio 2010 Compiler

wetb contains extensions that need to be compiled. On Windows things are complicated because you need to use the same compiler as the one used for Python. This means that for compiling extensions on:

  • Python 2.7 you need Microsoft Visual C++ Compiler for Python 2.7, or the direct link.
  • Python 3.4 you need MS Visual Studio 2010
  • Python 3.5 (and later) you need MS Visual Studio 2015
  • You can install Microsoft Visual C++ Compiler for Python 2.7 alongside MS Visual Studio 2010, but you can not install Visual Studio 2010 and 2015 in parallel.

You can find more background information and installation instructions here, here, here, or here.

Command line