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

Can not execute the command to set a theme. #444

Open
Abhranta opened this issue Apr 2, 2021 · 0 comments
Open

Can not execute the command to set a theme. #444

Abhranta opened this issue Apr 2, 2021 · 0 comments

Comments

@Abhranta
Copy link

Abhranta commented Apr 2, 2021

I am using ubuntu18.04 . When I try to execute the command- jt -t I get the following errors :

Traceback (most recent call last):
File "/home/abhrant/python/deep_learning/lib/python3.6/site-packages/jupyterthemes/stylefx.py", line 459, in reset_default
delete_font_files()
File "/home/abhrant/python/deep_learning/lib/python3.6/site-packages/jupyterthemes/stylefx.py", line 104, in delete_font_files
for fontfile in os.listdir(jupyter_custom_fonts):
FileNotFoundError: [Errno 2] No such file or directory: '/home/abhrant/.jupyter/custom/fonts'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/abhrant/python/deep_learning/bin/jt", line 8, in
sys.exit(main())
File "/home/abhrant/python/deep_learning/lib/python3.6/site-packages/jupyterthemes/init.py", line 314, in main
dfonts=args.defaultfonts)
File "/home/abhrant/python/deep_learning/lib/python3.6/site-packages/jupyterthemes/init.py", line 59, in install_theme
stylefx.reset_default(False)
File "/home/abhrant/python/deep_learning/lib/python3.6/site-packages/jupyterthemes/stylefx.py", line 461, in reset_default
check_directories()
File "/home/abhrant/python/deep_learning/lib/python3.6/site-packages/jupyterthemes/stylefx.py", line 60, in check_directories
os.makedirs(jupyter_custom)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/abhrant/.jupyter/custom'

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

1 participant