Skip to content

Getting started

Santiago Peñate Vera edited this page Feb 5, 2016 · 27 revisions

Installation

You'll need a version of Python 3 installed on your system with the following packages:

  • Numpy
  • Scipy
  • Scikit-learn
  • NetworkX
  • Pandas
  • xlwt
  • xlsxwriter
  • Matplotlib
  • Numba
  • pyQt

Windows:

The standard Anaconda distribution works out of the box. Otherwise install the listed packages in your Python distribution using pip.

Stand-alone Python + Gridcal installation

  • Download the anaconda installer from here. Pick the python 3.x version in 64 bits.
  • Install python in a separated folder. Do not mark the installation for all the users nor to add it to the PATH.
  • Copy Gridcal to the same folder where the Anaconda Python was installed.
  • Once installed, create a .bat file containing .\Anaconda\python .\GridCal\main_gui.py
  • Gridcal is executable by double-clicking the .bat file. Should work out of the box.

Linux:

I have experience in Ubuntu only, but you should be available to install everything from the package manager.

  • The stand-alone instructions are valid for Linux only that instead of a .bat file it must be a .sh file

Getting to install Numba

Following this link the commands to install Numba on linux systems are:

Ubuntu 14.04

sudo apt-get install zlib1g zlib1g-dev libedit2 libedit-dev llvm-3.6 llvm-3.6-dev llvm-dev

pip3 install enum34 funcsigs

LLVM_CONFIG=/usr/bin/llvm-config-3.6 pip3 install llvmlite

LLVM_CONFIG=/usr/bin/llvm-config-3.6 pip3 install numba

Ubuntu 14.10

sudo apt-get install zlib1g zlib1g-dev libedit libedit-dev llvm-3.5 llvm-3.5-dev llvm-dev

pip3 install enum34 funcsigs

LLVM_CONFIG=/usr/bin/llvm-config-3.5 pip3 install llvmlite

LLVM_CONFIG=/usr/bin/llvm-config-3.5 pip3 install numba

Ubuntu 15.04

sudo apt-get install zlib1g zlib1g-dev libedit2 libedit-dev llvm-3.6 llvm-3.6-dev llvm-dev

pip3 install enum34 funcsigs

LLVM_CONFIG=/usr/bin/llvm-config-3.6 pip3 install llvmlite

LLVM_CONFIG=/usr/bin/llvm-config-3.6 pip3 install numba

OSX:

Since I don't have an apple system I have no clue, but if you manage to install the Anaconda python distribution you should be good.

  • The stand-alone instructions should be valid for OSX only that instead of a .bat file it must be a .sh file
Clone this wiki locally