jupyter-migrate command not found

In this troubleshooting guide we learn how to fix jupyter-migrate command not found error message

Introduction

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

jupyter-migrate: command not found

or when using sudo you get the following error message

sudo: jupyter-migrate: command not found

Solutions to jupyter-migrate: command not found

How To Fix jupyter-migrate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jupyter-migrate is provided by jupyter-core package.

jupyter-core is:

This software component contains the base framework (application classes and configurations) for the rest of the Jupyter projects ; it doesn’t do much by itself.

This package contains the migration tool (off IPython before 4.0) and a path-giving utility.

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

sudo apt-get -y install jupyter-core

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

You can also use apt command to install jupyter-core.

sudo apt -y install jupyter-core

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

sudo aptitude install jupyter-core

Summary

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