gsutil not working on mac and python3.5









up vote
3
down vote

favorite












I am trying to use google storage lib but I am getting an error when I call gsutil...



Installed gsutil with pip:



pip install gsutil


my current python version is 3.5



when I run gsutil from command line I get the bellow error:



class AbortException(StandardError): NameError: name 'StandardError' is not defined


Not sure how to workaround this issue... any ideas?



EDIT:
Looks like it works fine using python 3.4 despite they say it's not supported on 3x...










share|improve this question



























    up vote
    3
    down vote

    favorite












    I am trying to use google storage lib but I am getting an error when I call gsutil...



    Installed gsutil with pip:



    pip install gsutil


    my current python version is 3.5



    when I run gsutil from command line I get the bellow error:



    class AbortException(StandardError): NameError: name 'StandardError' is not defined


    Not sure how to workaround this issue... any ideas?



    EDIT:
    Looks like it works fine using python 3.4 despite they say it's not supported on 3x...










    share|improve this question

























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I am trying to use google storage lib but I am getting an error when I call gsutil...



      Installed gsutil with pip:



      pip install gsutil


      my current python version is 3.5



      when I run gsutil from command line I get the bellow error:



      class AbortException(StandardError): NameError: name 'StandardError' is not defined


      Not sure how to workaround this issue... any ideas?



      EDIT:
      Looks like it works fine using python 3.4 despite they say it's not supported on 3x...










      share|improve this question















      I am trying to use google storage lib but I am getting an error when I call gsutil...



      Installed gsutil with pip:



      pip install gsutil


      my current python version is 3.5



      when I run gsutil from command line I get the bellow error:



      class AbortException(StandardError): NameError: name 'StandardError' is not defined


      Not sure how to workaround this issue... any ideas?



      EDIT:
      Looks like it works fine using python 3.4 despite they say it's not supported on 3x...







      python-3.x google-cloud-storage gsutil






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 '15 at 11:25

























      asked Oct 30 '15 at 16:49









      Bodao

      543314




      543314






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          From the gsutil System Requirements documentation:




          To use gsutil, you must have Python 2.6.x or 2.7.x installed on your
          computer. gsutil does not currently run on Python 3.x.







          share|improve this answer





























            up vote
            1
            down vote













            Because gsutil still does not support Python 3, I decided to write a replacement: https://pypi.org/project/gs/. In addition to supporting Python 3, it can be used as a Python library, and has a few other improvements over gsutil functionality (courtesy of click, the CLI helper library).






            share|improve this answer




















              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              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: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              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%2fstackoverflow.com%2fquestions%2f33441027%2fgsutil-not-working-on-mac-and-python3-5%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              2
              down vote



              accepted










              From the gsutil System Requirements documentation:




              To use gsutil, you must have Python 2.6.x or 2.7.x installed on your
              computer. gsutil does not currently run on Python 3.x.







              share|improve this answer


























                up vote
                2
                down vote



                accepted










                From the gsutil System Requirements documentation:




                To use gsutil, you must have Python 2.6.x or 2.7.x installed on your
                computer. gsutil does not currently run on Python 3.x.







                share|improve this answer
























                  up vote
                  2
                  down vote



                  accepted







                  up vote
                  2
                  down vote



                  accepted






                  From the gsutil System Requirements documentation:




                  To use gsutil, you must have Python 2.6.x or 2.7.x installed on your
                  computer. gsutil does not currently run on Python 3.x.







                  share|improve this answer














                  From the gsutil System Requirements documentation:




                  To use gsutil, you must have Python 2.6.x or 2.7.x installed on your
                  computer. gsutil does not currently run on Python 3.x.








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 22 '15 at 16:56

























                  answered Oct 30 '15 at 17:08









                  jterrace

                  43k13113162




                  43k13113162






















                      up vote
                      1
                      down vote













                      Because gsutil still does not support Python 3, I decided to write a replacement: https://pypi.org/project/gs/. In addition to supporting Python 3, it can be used as a Python library, and has a few other improvements over gsutil functionality (courtesy of click, the CLI helper library).






                      share|improve this answer
























                        up vote
                        1
                        down vote













                        Because gsutil still does not support Python 3, I decided to write a replacement: https://pypi.org/project/gs/. In addition to supporting Python 3, it can be used as a Python library, and has a few other improvements over gsutil functionality (courtesy of click, the CLI helper library).






                        share|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          Because gsutil still does not support Python 3, I decided to write a replacement: https://pypi.org/project/gs/. In addition to supporting Python 3, it can be used as a Python library, and has a few other improvements over gsutil functionality (courtesy of click, the CLI helper library).






                          share|improve this answer












                          Because gsutil still does not support Python 3, I decided to write a replacement: https://pypi.org/project/gs/. In addition to supporting Python 3, it can be used as a Python library, and has a few other improvements over gsutil functionality (courtesy of click, the CLI helper library).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 11 at 4:07









                          weaver

                          990712




                          990712



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33441027%2fgsutil-not-working-on-mac-and-python3-5%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              這個網誌中的熱門文章

                              Barbados

                              How to read a connectionString WITH PROVIDER in .NET Core?

                              Node.js Script on GitHub Pages or Amazon S3