Qas
Qas

Reputation: 77

Changing Jupyter Notebook Theme: "NameError: name 'jt' is not defined"

I ran this command:

pip install jupyterthemes

But when I want to list the themes, anything with jt,

jt -l 

It returns this error:

NameError: name 'jt' is not defined

I have restarted my jupyter notebook but it still gives the above error. Any ideas?

Upvotes: 1

Views: 1003

Answers (1)

Arav
Arav

Reputation: 111

Terminal commands can be executed in Jupyter Notebook cells by prepending an exclamation mark (!) to the beginning of the command.

To fix the error simply run: ! jt -l

Upvotes: 2

Related Questions