How to uninstall jupyter

jigar surana picture jigar surana · Oct 10, 2015 · Viewed 176.2k times · Source

I have been trying to uninstall jupyter

I have tried the following commands

pip uninstall jupyter
pip3 uninstall jupyter

and

rm -rf /Users/$user/Library/Jupyter/*

Even after running all these commands when I type jupyter in the terminal I get the following message

usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json]
               [subcommand]
jupyter: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required

What exactly is going wrong and why am I still able to use the command?

Answer

Stan_MD picture Stan_MD · Jul 17, 2016

When you $ pip install jupyter several dependencies are installed. The best way to uninstall it completely is by running:

  1. $ pip install pip-autoremove
  2. $ pip-autoremove jupyter -y

Kindly refer to this related question.

pip-autoremove removes a package and its unused dependencies. Here are the docs.