fiona command not found

In this troubleshooting guide we learn how to fix fiona command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

fiona: command not found

or when using sudo you get the following error message

sudo: fiona: command not found

Solutions to fiona: command not found

How To Fix fiona: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fiona is provided by fiona package.

fiona is:

Fiona is a Python wrapper around the OGR vector data abstraction library. Fiona is designed to be simple and dependable. It focuses on reading and writing data in standard Python IO style and relies upon familiar Python types and protocols such as files, dictionaries, mappings, and iterators instead of classes specific to OGR. Fiona can read and write real-world data using multi-layered GIS formats and zipped virtual file systems and integrates readily with other Python GIS packages such as pyproj, Rtree, and Shapely.

This package provides the fiona command line tools

To fix this problem, we can install more using the command below.

sudo apt-get -y install fiona

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install fiona.

sudo apt -y install fiona

Or if you have aptitude installed you can use the following command.

sudo aptitude install fiona

Summary

In this tutorial we learn how to fix fiona command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.