Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jupyter notebook jt command not found

I want to change the Jupyter notebook theme, so I installed the themes with:

pip install jupyterthemes

The installation seems working fine but when I try to change the theme:

jt -t <theme_name>

I get:

jt: command not found

I tried to uninstall the themes:

pip uninstall jupyterthemes

but I got:

Skipping jupyterthemes as it is not installed

During the installation I got no error though.

What should I do to install the themes properly?

I'm using Ubuntu 16.04, and I installed Jupyter Notebook with pip. Jupyter works fine, it's just the themes that don't work

like image 655
Adrift Avatar asked Apr 24 '18 19:04

Adrift


People also ask

Why is Jupyter command not found?

"Command jupyter not found":You may need to add the directory where you installed jupyter or pip to your PATH variable... For example, if you successfully installed jupyter but it's complaining that the command is not found, try adding ~/Library/Python/2. XXX/bin and ~/bin to your path.

Why my jupyter notebook is not opening in CMD?

Jupyter fails to start If you're using a menu shortcut or Anaconda launcher to start it, try opening a terminal or command prompt and running the command jupyter notebook . If it can't find jupyter , you may need to configure your PATH environment variable.

What is the correct command to install in jupyter notebook?

Code: 'pip install jupyter. ' Then it will start downloading the Jupyter, and it will install the Jupyter notebook.

How do I enable Jupyter?

3.1. To launch Jupyter Notebook App: Click on spotlight, type terminal to open a terminal window. Enter the startup folder by typing cd /some_folder_name . Type jupyter notebook to launch the Jupyter Notebook App The notebook interface will appear in a new browser window or tab.


2 Answers

I solved the issue without sudo access by inputting commands within a Jupyter notebook.

Input the following in the cell of a notebook:

!pip install jupyterthemes 

jt commands should work well afterward.

like image 140
Chris Tang Avatar answered Sep 30 '22 13:09

Chris Tang


Simply run this. I was facing same issue, it worked .

sudo pip install jupyterthemes
like image 30
Sarthak Grover Avatar answered Sep 30 '22 11:09

Sarthak Grover