Installing GPSTk in Anaconda Python

less than 1 minute read

To run GPSTk 2.10 examples, first install GPSTk for Python as below.

Prereq

GPSTk 2.10 requires Python 2.7.

  1. Use Anaconda to switch to Python 2.7 by
    conda create -n py27 python=2.7
    conda activate py27
    
  2. install prereqs
    apt install g++ make cmake swig doxygen sphinx-common
    

Build

  1. Download gpstk source
    git clone https://github.com/SGL-UT/GPSTk
    cd GPSTk
    
  2. Build & install. This takes several minutes, and emits a very large number of C++11 deprecation warnings
    ./build.sh -ue
    

Categories:

Updated:

Leave a Comment