How to properly install nbgrader extension?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I come across this error when trying to install nbgrader extension for jupyterhub. The error could be a trivial one but I can't manage to fix it.
nbgrader extension install
Unrecognized JSON config file version, assuming version 1
Installing create_assignment extension
Making directory: /usr/local/share/jupyter/nbextensions/create_assignment/
Traceback (most recent call last):
File "/home/mark/.local/bin/nbgrader", line 11, in <module>
sys.exit(main())
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 249, in main
NbGraderApp.launch_instance()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/mark/.local/lib/python3.5/site-packages/traitlets/config/application.py", line 596, in launch_instance
app.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 242, in start
super(NbGraderApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 249, in start
super(ExtensionApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 56, in start
self.install_extensions()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 46, in install_extensions
logger=self.log)
File "/home/mark/.local/lib/python3.5/site-packages/notebook/nbextensions.py", line 206, in install_nbextension
os.makedirs(dest_dir)
File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/nbextensions/create_assignment/'
would appreciate your suggestions to overcome this issue.
software-installation python
add a comment |
up vote
1
down vote
favorite
I come across this error when trying to install nbgrader extension for jupyterhub. The error could be a trivial one but I can't manage to fix it.
nbgrader extension install
Unrecognized JSON config file version, assuming version 1
Installing create_assignment extension
Making directory: /usr/local/share/jupyter/nbextensions/create_assignment/
Traceback (most recent call last):
File "/home/mark/.local/bin/nbgrader", line 11, in <module>
sys.exit(main())
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 249, in main
NbGraderApp.launch_instance()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/mark/.local/lib/python3.5/site-packages/traitlets/config/application.py", line 596, in launch_instance
app.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 242, in start
super(NbGraderApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 249, in start
super(ExtensionApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 56, in start
self.install_extensions()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 46, in install_extensions
logger=self.log)
File "/home/mark/.local/lib/python3.5/site-packages/notebook/nbextensions.py", line 206, in install_nbextension
os.makedirs(dest_dir)
File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/nbextensions/create_assignment/'
would appreciate your suggestions to overcome this issue.
software-installation python
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I come across this error when trying to install nbgrader extension for jupyterhub. The error could be a trivial one but I can't manage to fix it.
nbgrader extension install
Unrecognized JSON config file version, assuming version 1
Installing create_assignment extension
Making directory: /usr/local/share/jupyter/nbextensions/create_assignment/
Traceback (most recent call last):
File "/home/mark/.local/bin/nbgrader", line 11, in <module>
sys.exit(main())
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 249, in main
NbGraderApp.launch_instance()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/mark/.local/lib/python3.5/site-packages/traitlets/config/application.py", line 596, in launch_instance
app.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 242, in start
super(NbGraderApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 249, in start
super(ExtensionApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 56, in start
self.install_extensions()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 46, in install_extensions
logger=self.log)
File "/home/mark/.local/lib/python3.5/site-packages/notebook/nbextensions.py", line 206, in install_nbextension
os.makedirs(dest_dir)
File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/nbextensions/create_assignment/'
would appreciate your suggestions to overcome this issue.
software-installation python
I come across this error when trying to install nbgrader extension for jupyterhub. The error could be a trivial one but I can't manage to fix it.
nbgrader extension install
Unrecognized JSON config file version, assuming version 1
Installing create_assignment extension
Making directory: /usr/local/share/jupyter/nbextensions/create_assignment/
Traceback (most recent call last):
File "/home/mark/.local/bin/nbgrader", line 11, in <module>
sys.exit(main())
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 249, in main
NbGraderApp.launch_instance()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/mark/.local/lib/python3.5/site-packages/traitlets/config/application.py", line 596, in launch_instance
app.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/nbgraderapp.py", line 242, in start
super(NbGraderApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 249, in start
super(ExtensionApp, self).start()
File "/home/mark/.local/lib/python3.5/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 56, in start
self.install_extensions()
File "/home/mark/.local/lib/python3.5/site-packages/nbgrader/apps/extensionapp.py", line 46, in install_extensions
logger=self.log)
File "/home/mark/.local/lib/python3.5/site-packages/notebook/nbextensions.py", line 206, in install_nbextension
os.makedirs(dest_dir)
File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/nbextensions/create_assignment/'
would appreciate your suggestions to overcome this issue.
software-installation python
software-installation python
edited Aug 21 '16 at 1:11
Jeff Schaller
35.7k952119
35.7k952119
asked Aug 20 '16 at 15:22
Moeen MH
1062
1062
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
well for this particular case I just had to add --user to my command like this :
nbgrader extension install --user
I do not know how, but it solves the problem.
add a comment |
up vote
0
down vote
If you install nbgrader
with conda
this should not be an issue:
$ conda install nbgrader -c conda-forge
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
well for this particular case I just had to add --user to my command like this :
nbgrader extension install --user
I do not know how, but it solves the problem.
add a comment |
up vote
0
down vote
well for this particular case I just had to add --user to my command like this :
nbgrader extension install --user
I do not know how, but it solves the problem.
add a comment |
up vote
0
down vote
up vote
0
down vote
well for this particular case I just had to add --user to my command like this :
nbgrader extension install --user
I do not know how, but it solves the problem.
well for this particular case I just had to add --user to my command like this :
nbgrader extension install --user
I do not know how, but it solves the problem.
answered Aug 20 '16 at 15:58
Moeen MH
1062
1062
add a comment |
add a comment |
up vote
0
down vote
If you install nbgrader
with conda
this should not be an issue:
$ conda install nbgrader -c conda-forge
add a comment |
up vote
0
down vote
If you install nbgrader
with conda
this should not be an issue:
$ conda install nbgrader -c conda-forge
add a comment |
up vote
0
down vote
up vote
0
down vote
If you install nbgrader
with conda
this should not be an issue:
$ conda install nbgrader -c conda-forge
If you install nbgrader
with conda
this should not be an issue:
$ conda install nbgrader -c conda-forge
answered 22 hours ago
Brian Spiering
1013
1013
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f304678%2fhow-to-properly-install-nbgrader-extension%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password