Note: These instructions are intended for use with Linux systems.
-
Create a new conda environment:
(base) $ conda create --name geospatial python=3.9
- Activate geospatial environment:
(base) $ conda activate geospatial
- Install conda dependencies:
(geospatial) $ conda install -c conda-forge pdal python-pdal gdal
- Install python dependencies:
(geospatial) $ pip install -r requirements.txt
- Install conda kernel for jupyter lab:
(geospatial) $ ipython kernel install --user --name=cloudbutton-geospatial
- Start jupyter lab:
(geospatial) $ jupyter lab
- Select the geospatial environment kernel created:
- To activate the geospatial conda environment in a new session:
$ source ~/anaconda3/bin/activate
(base) $ conda activate geospatial
(geospatial) $ jupyter lab