How to Completely uninstall jupyter
Fixing thejupyter
errorYou have a permissions issue:
IOError: [Errno 13] Permission denied: '/home/gustav/.local/share/jupyter/notebook_secret'
Uninstalling is not going to help, at least not directly. You might be able to fix it by entering this command in a terminal:
mkdir -p ${HOME}/.local/share/jupyter
This will fix the error if it was due to the .local/share/jupyter
directory not existing.
jupyter
If you can't fix the permission issue, here's the simplest set of commands for nuking jupyter
from space:
pip install pip-autoremove
pip-autoremove jupyter -y
From a little bit of testing I just did, you might also have to run at the end:
pip-autoremove jupyter-core -y
Opening .ipynb
files with a doubleclickYou can't open .ipynb
with just vanilla Jupyter by double clicking. This is by design (also arguably a design flaw, but eh). You can add this functionality with the nbopen project.
To install on Ubuntu, just run the following in a terminal:
python3 -m pip install nbopen
python3 -m nbopen.install_xdg
I haven't tested this though since I'm not running Linux.
How to open.ipynb
files the "normal" wayYou can't open .ipynb
with just vanilla Jupyter by double clicking. This is by design (also arguably a design flaw, but eh).
Instead, you have to open files in the Jupyter file manager, which you run like this:
Open a new terminal window (in Ubuntu you can just enter Ctrl+Alt+T).
Start up the notebook server by running
jupyter notebook
This should automatically open a new window in your internet browser that's pointing to the Jupyter file manager. If it doesn't, there'll be a line in your terminal that says something like
Copy/paste this URL into your browser when you connect for the first time, to login with a token:
In that case, just copy the following URL into the address bar of a browser window and hit enter.
You should now have a browser window showing the Jupyter file manager. Use the file manager to navigate to the
.ipynb
you want to open, and then just click on it.
Admittedly a bit convoluted, especially at first. I believe the reason Jupyter is set up this way goes back to its server-based architecture, and the fact that the design team wanted it to be easily/seamlessly deployed on remote computers.
How to uninstall Jupyter note book installed by pip3
I have just tried
$ pip3 install pip-autoremove
$ pip-autoremove jupyter -y
It cleared all. I checked with
pip3 freeze | grep jupyter
which jupyter
Nothing came back. So it's all good.
There is also other suggestion here
Below is copy from the link:(you might need to use pip3)
Run conda uninstall notebook nbconvert nbformat ipykernel ipywidgets qtconsole traitlets tornado jupyter_* ipython_genutils jinja2 -y in your terminal. You can use pip uninstall instead of conda uninstall if you aren't using anaconda.
Uninstall Jupyter-Lab with conda completely
When jupyterlab is installed use jupyter --paths
to see where the configuration, data and runtime is stored. After removing the corresponding files and directories you will be able to perform a clean install without any traces of the old extensions.
Remember to use it in the right environment.
Related Topics
Finding Out Who Got the Highest Mark Among the Students
How to Select the Last Column of Dataframe
Easiest Way to Convert Two Columns to Python Dictionary
Making a Dictionary from Each Line in a File
How to Ask a Set of Questions Multiple Times Based on User Input
How to Update a Label Inside While Loop in Tkinter
Save Variables in Every Iteration of for Loop and Load Them Later
Python List from Database Table into a Dictionary
How to Close a Program Using Python
How to Sort a Single String Output in Ascii Descending Order Through a Function
Python Pandas - Get Row Based on Previous Row Value
Regular Expression: Match Everything After a Particular Word
How to Limit a Number to Be Within a Specified Range (Python)
How to Convert Datetime by Removing Nanoseconds
How to Execute Local Python Scripts in Jenkins Ui
Find the Item With Maximum Occurrences in a List