Skip to content

Software Environment Setup

Yu-Chu Huang edited this page Apr 11, 2024 · 5 revisions

Setting the python environment for the first time

Below are the step-by-step instructions on how to set up a python virtual environment dedicated for the project use.

  • install conda to manage python environment
  • in anaconda prompt, create environment using the commands below:
    conda create python=3.7 rtree geopandas folium -n <environment_name>
    conda activate <environment_name>
    conda install -c conda-forge osmnx
    
  • clone and install Network Wrangler bicounty branch from GitHub:
    cd <your_working_folder>
    git clone https://github.com/wsp-sag/network_wrangler
    cd network_wrangler
    git checkout bicounty
    pip install -e .
    
  • clone and install Lasso bicounty_emme branch from GitHub:
    cd <your_working_folder>
    git clone https://github.com/wsp-sag/Lasso
    cd Lasso
    git checkout bicounty_emme
    pip install -e .
    

Clone this wiki locally