Development Environment Setup - staglibrary/stagpy GitHub Wiki

Installing SWIG

In order to develop on this project, you will need to install swig.

At the time of writing, after downloading the latest release, you can install it with

  • tar xzvf <swig_tarball>
  • cd <swig_directory>`
  • ./configure
  • make
  • sudo make install

If the configure step complains that you need the PCRE library, then you can install it on ubuntu with sudo apt-get install libpcre3 libpcre3-dev libpcre2-dev.