Skip to content

Installation

Prerequisites

The major dependencies of this library are the following packages.

  • numpy
  • shapely
  • pandas
  • scipy
  • geopandas
  • matplotlib
  • contextily

Installation Options

Option A

Use pip to install the package.

pip install gtfs-segments

ℹī¸ Windows users may have to download and install Microsoft Visual C++ distributions. Follow these instructions.

📓 Google Colab : You can install and use the gtfs-segments via google colab. Here is a tutorial to help you get started. Make a copy and get started with your work!

Option B

  1. Clone the repo
    git clone https://github.com/UTEL-UIUC/gtfs_segments.git
  1. Install geopandas using the following code. Read more here
    conda create -n geo_env -c conda-forge python=3.11 geopandas
  1. Install the gtfs_segments package
    cd gtfs_segments
    python setup.py install

(back to top)