Remove Jupyter files and directories
The Jupyter package is removed with the pip uninstall command, but the files and directories that Jupyter could have generated on your system are left behind. It’s necessary to manually remove these files in order to fully uninstall Jupyter. Depending on your operating system and installation method, these files may be located in different places, however the following are some typical locations:
Linux and macOS
The /.jupyter directory is normally where Jupyter files are kept. Use the command below to delete this directory and all of its contents:
rm -rf ~/.jupyter
Windows
The %USERPROFILE%\AppData\Roaming\jupyter directory could contain Jupyter files. Use the PowerShell command below to delete this directory and all of its contents:
Remove-Item -Recurse -Force $env:APPDATA\jupyter
APPDATA must be changed to LOCALAPPDATA if Jupyter was installed for all users.
How to uninstall jupyter
Popular open-source software called Jupyter Notebook enables you to create and share documents with live code, equations, visuals, and text. Scientific computing and data science both make extensive use of it. However, there may come a time when you need to uninstall Jupyter from your system for various reasons, such as switching to a different environment or resolving conflicts with other software. This article will provide a step-by-step guide on uninstalling Jupyter from your system, whether it is Windows, macOS, or Linux that you are using.