cartopy_feature_download command not found

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

Introduction

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

cartopy_feature_download: command not found

or when using sudo you get the following error message

sudo: cartopy_feature_download: command not found

Solutions to cartopy_feature_download: command not found

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

In Ubuntu cartopy_feature_download is provided by python3-cartopy package.

python3-cartopy is:

Cartopy is a Python package designed to make drawing maps for data analysis and visualisation easy.

It features:

  • object oriented projection definitions
  • point, line, polygon and image transformations between projections
  • integration to expose advanced mapping in matplotlib with a simple and intuitive interface
  • powerful vector data handling by integrating shapefile reading with Shapely capabilities

This package provides the Python 3 library.

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

sudo apt-get -y install python3-cartopy

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

You can also use apt command to install python3-cartopy.

sudo apt -y install python3-cartopy

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

sudo aptitude install python3-cartopy

Summary

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