How to properly install nbgrader extension?

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question



























    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.










    share|improve this question

























      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.










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 21 '16 at 1:11









      Jeff Schaller

      35.7k952119




      35.7k952119










      asked Aug 20 '16 at 15:22









      Moeen MH

      1062




      1062




















          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.






          share|improve this answer



























            up vote
            0
            down vote













            If you install nbgrader with conda this should not be an issue:



             $ conda install nbgrader -c conda-forge





            share|improve this answer




















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              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






























              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.






              share|improve this answer
























                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.






                share|improve this answer






















                  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.






                  share|improve this answer












                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 20 '16 at 15:58









                  Moeen MH

                  1062




                  1062






















                      up vote
                      0
                      down vote













                      If you install nbgrader with conda this should not be an issue:



                       $ conda install nbgrader -c conda-forge





                      share|improve this answer
























                        up vote
                        0
                        down vote













                        If you install nbgrader with conda this should not be an issue:



                         $ conda install nbgrader -c conda-forge





                        share|improve this answer






















                          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





                          share|improve this answer












                          If you install nbgrader with conda this should not be an issue:



                           $ conda install nbgrader -c conda-forge






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 22 hours ago









                          Brian Spiering

                          1013




                          1013



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              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













































































                              Ooa,yMswoDMWOebAb 1m,w3vhwa
                              u1Ouf6u jTKy00Ft KB,Hm5uDBBJOw PrDFXqlPR2hot9KIz8 jqyIhp2

                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              How many registers does an x86_64 CPU actually have?

                              Displaying single band from multi-band raster using QGIS