dunovank / jupyter-themes

Custom Jupyter Notebook Themes
MIT License
9.76k stars 1.06k forks source link

Command not found: jt #469

Open VomDorfe opened 1 year ago

VomDorfe commented 1 year ago

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 commented 1 year ago

Hi Vom,

Try installing jupyterthemes using the following command:

python -m pip install jupyterthemes

gadelhaz commented 1 year ago

conda env list

conda activate base

jt -l

perskii commented 1 year ago

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 commented 7 months ago

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.