Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command not found: jt #469

Open
VomDorfe opened this issue Nov 20, 2022 · 4 comments
Open

Command not found: jt #469

VomDorfe opened this issue Nov 20, 2022 · 4 comments

Comments

@VomDorfe
Copy link

Hi,

I am pretty new to jupyter notebook and I did not like the bright theme, therefore I wanted to install JT to change it.

Mac OS 13.0.1
Pip 22.3.1
Python 3.7

I have used pip3 install jupyterthemes to install juypterthemes.
Afterwards the JT command did not work. So I tried to solve the problem by existing topics such as https://github.com/dunovank/jupyter-themes/issues/92.

I fixed the problem within my ~/.zshrc so my $PYTHONPATH does not return a blank value.
From now $PYTHONPATH returned /usr/bin/python3 - works fine.

But the the problem of the beginning still exist, whenever I try to change the Theme of Jupyter, I get:
zsh: command not found: jt - any ideas how to fix it?

Thanks Leo

@nathanjslim
Copy link

Hi Vom,

Try installing jupyterthemes using the following command:

python -m pip install jupyterthemes

@gadelhaz
Copy link

gadelhaz commented Mar 4, 2023

conda env list

conda activate base

jt -l

@perskii
Copy link

perskii commented Apr 17, 2023

try write that in Jupyter Notebook !pip install jupyterthemes
Before every command, you have to insert ! if you are writing inside a Jupyter notebook.

@goodMindMan
Copy link

OS info:

Edition Windows 11 Home Single Language
Version 23H2
Installed on ‎19-‎Jan-‎23
OS build 22631.3155
Experience Windows Feature Experience Pack 1000.22684.1000.0
Python 3.11.4

I encountered the same problem and all the ways I found ether on stack overflow/ GitHub didn't work.
the only way i could fix it was run the anaconda prompt as an administrator
type conda install -c conda-forge jupyterthemes i then run the jt -t <theme name> command and it work

Just make sure to be connected to stable internet and to restart Jupyter notebook.

Hope this was helpful

p.s. Tt worked for me but I am unaware of that conda-forge really works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants