-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
jt command not installing properly #92
Comments
Hmm... that's a new one... I'm really not sure. as in: |
Update - Not sure if this is the same issue, but I had to restart |
Thanks for the feedback. onedork should be one word 'jt -t onedork' . Not
sure if that was a typo or not. But either way I'll need to make sure it
raises an error when the theme name doesn't match any of the existing
themes. Was that the issue (do you see the new theme after running 'jt -t
onedork' )?. How about after refreshing the browser cache? Starting a new
jupyter session? Restarting the browser and a new jupyter session?
…On Tue, Jan 31, 2017 at 2:40 PM, Jason ***@***.***> wrote:
Nothing seems to happen for me as well (although the command is found).
I've used the other project jupyter-themer without any issues. There is
no output after running jt -t one dork. Is there some files I should look
for that would be changed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADqqzgQSSBDtk1SzMMOH4nIiC9kIT2HPks5rX44WgaJpZM4Lrtv2>
.
--
Kyle Dunovan, PhD
Postdoctoral Researcher
Cognitive Axon Lab
Carnegie Mellon University
|
@dunovank Thank you for the reply - I actually edited my comment after figuring it out. (Unrelated to typo of theme). I had to restart my Perhaps it's worth mentioning the restart in the README? Thanks! |
Yes, a long needed addition to the readme. Will do that asap. Thanks again for the feedback! |
@dspoka I had the same issue, and this worked for me:
|
Thanks @sananth12 ! Putting a note in the readme about this. |
I've tried uninstalling existing versions and re-installing from the github repo, but I'm still getting " name 'jupyter' is not defined" I've restarted jupyter as well and nothing seems to be solving the problem. Any suggestions? |
I've tried following the README instruction: # uninstall any existing versions
pip uninstall jupyterthemes
# install from the github repo
pip install --user git+https://github.com/dunovank/jupyter-themes.git but it seems my zsh still complaining
Does anyone know how to solve this? |
chw946, |
@biographie what's the output of terminal command: (I'm also using zsh and haven't had any issues. It's been a while but I seem to remember having to manually set my PYTHONPATH to prioritize anaconda packages after installing zsh). |
@dunovank im not getting any output when echo $PYTHONPATH any ideas on how to go about this? |
disclaimer: messing with PATH variables is always risky so proceed at your own discretion If you're using anaconda you might try adding the following lines to your .zshrc # PATH
export PATH="$HOME/anaconda/bin:$PATH"
# PYTHONPATH
export PYTHONPATH="$PYTHONPATH:$HOME/anaconda/bin/" or replace |
@biographie any luck with this? |
@dunovank great stuff - it worked! thanks a lot for your help |
Glad to hear it. I'm going to mark this as resolved then. Would you mind opening a separate issue about the plots? A screenshot of the issue would also help. Thanks! |
I guess this issue closed 3 days ago but as a first time user of jupyterthemes who just encountered it for the first time and followed the instructions in the readme I still ran into this exact problem. Maybe the following information helps: I am running on a fresh AWS Linux instance with Python/IPython/Jupyter installed not via Anaconda, and the pip installation (for which I need to use sudo) does seem to work normally during the installation part (before trying it). It results in an installation at When I try to run My conclusion/hypothesis is that the issue is a path issue specifically between sudo and non-sudo invocations, because pip seems to install it to Hope that helps. Daniel ps the specific permissions complaint that gets me to use sudo in the first place for jt -t is:
|
Thanks for taking the time to give detailed feedback, very much appreciated. I'll re-open this now. |
just want to say, I've the same issue, the solutions above did not help me. MacOs, python 3.5, conda. I |
Hey @unnir sorry about the trouble. Can you tell me the output of these two shell commands? echo $PATH
echo $PYTHONPATH
which python Also, are you using basic bash (default shell in os x terminal) or something like zsh? Just to be clear, you're having the same permissions issue as reported by @dannaf ? |
@dunovank you don't have to be sorry :) everything is fine, mac is very special echo $PATH
/Users/vadimborisov/anaconda/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Library/TeX/texbin
echo $PYTHONPATH
which python
/Users/vadimborisov/anaconda/bin/python so, I had an empty path for $PYTHONPATH, thank you! |
Good to hear @unnir , glad it worked. Just to clarify for anyone who runs into this issue in the future. If you get an error saying that In a terminal # points to custom python install
$ echo $PYTHONPATH
# path to current prioritized python version
$ which python If In your .bashrc (or equivalent) #ex. if which python returned /home/jingyang/anaconda3/bin/python
export PYTHONPATH="/home/jingyang/anaconda3/bin/python" Save, open a new terminal session, and retry theme install. |
Yes, thanks @dunovank. I just installed jupyter-themes, and was having the same issue when I tried to call |
closing since this seems to be resolved, thanks everyone! |
For those who still had problems even with correct PATH and PYTHONPATH
Which is recommended instead of using After installing with |
Hi , I want to ask a question that is it useful for windows 10 to use these themes? |
@xshi0001 usefulness of something is always up to you. |
Why did my jupyter notebook and the web site post a different picture when I installed it all? I want the same theme as the website, how to set it? Can you help me? Thank you very much! |
Jt works but nothing shows.It seems to be invalid that I have made a lot of efforts. Can I provide an alternative way of operating?For example, the following can be normal.But I also need to open the toolbar and set the font. |
Hello! After updating my PYTHONPATH variable, the command jt still doesn't work. Could you help me? Thanks! (I'm using Ubuntu 17.10) |
@RootofalleviI cd ~/.local/lib/python3.5/site-packages/bin
python jt -l
python jt -t oceans16 |
I am facing the same issue as @RootofalleviI , the PYTHONPATH variable fails to retain the path value. Any help or work around would be much appreciated. I am using Ubuntu 18.04.1 LTS Thanks! |
Hi all, I used jupyterthemes on a Mac at my work and it has worked fine. I've switched to a Windows and after installing jupyterthemes using pip when I try to set a theme by typing: I have been getting this error:
I'm on Windows 10, Python 3.7. I have been looking through this thread for fixes but all the suggestions are for Mac. Any idea on how to fix this problem for Windows? |
@namanpaul I'm also on Ubuntu 18.04.1. Try uninstalling and reinstalling jupyterthemes as sudo, this worked for me. |
thanks @benfolsom I was able to resolve the issue on its own: the quick fix was a system restart and things seem to work! |
if any is still struggling with the "jt command not found" on mac , |
Are we be able to apply it in Github or it is only for local? |
I used to have the same issue. then i uninstall. and reinstall by referring this link. and it works!! |
Worked for me, thanx. |
I don't if anyone else has this problem, but after setting the $PYTHONPATH, I installed the package and the command still wasn't part of the binaries. Then I updated the package using |
what... |
I have no clue what this means |
I work on MacOSX 10.15 and python 3.6, and it does not work. I configure
Anymore things/tricks I could try? @gbaldi96 : do you know how to use a terminal? |
I had the same issue on Windows 10. This is what worked for me. |
I used the method above as @RootofalleviI posted and "cd" the path where my jt is but it didn't work. sudo + "the path where 'jt' lies" + command line options It worked! Ty |
@miaozj thanks a lot, it works. |
I'm not at all framilier with using my terminal (Mac running Catalina 10.15.4). When i type: $ echo $PYTHONPATH Can anyone spell it out for me step by step? |
Using Ubuntu: |
What are the steps to do that? I'm just a little nervous that I might do something wrong. |
|
Thanks for the help to find the path to jt. It was actually an executable command, not a directory, so when I got to where it was, I type ./jt -t chesterish and it worked! I'm using Ubuntu 14.04, not sure if that'll make a difference. Anyways, thanks to you all again. |
I am on Win10, ran into this "jt -l" scenario. This is how it is done: |
I'm on windows 11. |
I really loved that beautiful dark theme, but for printing I must be able to switch from dark to light quickly. Nothing of the above worked for me. The command jt could not be found, it cost me hours, tried nearly all possible solutions. The only thing that worked was to delete the custom folder from jupyter and switch to dark theme via chrome://flags. |
I have Python 3.9.13 on windows 10 Enterorise, I have Jupyterthemes installed, I ran : echo $PYTHONPATH |
FYI: I tried !jt as well, but did not work. |
Mac OS Sierra 10.13
pip 9.0.1
Python 2.7.13
I used
pip install jupyterthemes
and it seems like it installs successfully but the jt command does not exist.
have tried uninstalling and installing with sudo too.
any help?
The text was updated successfully, but these errors were encountered: