import_interpolation command not found

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

Introduction

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

import_interpolation: command not found

or when using sudo you get the following error message

sudo: import_interpolation: command not found

Solutions to import_interpolation: command not found

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

In Ubuntu import_interpolation is provided by libpinyin-utils package.

libpinyin-utils is:

libpinyin is a set of core algorithms designed for intelligent sentence-based Chinese PinYin input methods.

This package provides the utilities for manipulating dict files.

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

sudo apt-get -y install libpinyin-utils

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

You can also use apt command to install libpinyin-utils.

sudo apt -y install libpinyin-utils

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

sudo aptitude install libpinyin-utils

Summary

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