Installation
Step 1: Python
GRID is developed in Python 3. Follow the official instruction to set up Python.
Step 2: Rasterio (Windows Users)
The easiest way to install Rasterio in Windows is to build it from binaries
(Official instruction).
Please download correct versions of .whl
from
Rasterio and
GDAL, and use pip`
to install them.
For example, if you want to run GRID in 64-bit Windows 10 using Python 3.9,
the .whl
names and the commands should be:
python -m pip install GDAL-3.4.3-cp39-cp39-win_amd64.whl
python -m pip install rasterio-1.2.10-cp39-cp39-win_amd64.whl
Step 2: Rasterio (Other Users)
Rasterio is the only GRID dependency that can’t be installed via PyPI. Below are the alternatives:
- Anaconda (Recommended)
Install Anaconda here, and run the following commands in Anaconda Prompt:
conda config --add channels conda-forge conda install rasterio
Step 3: Install GRID via PyPI
Finally, to install GRID, in the prompt (or Anaconda Prompts if you installed Rasterio via Anaconda):
python -m pip install photo_grid
After finishing this step, you should be good to go. Otherwise, check what dependencies you miss or report any issue to the GitHub repository .
Note
If your system can’t find the command pip
,
follow the link
to install it.