Trouble installing homebrew package (mopidy) on new environment












2














I recently upgraded my laptop to one of the touchbar MacBook Pros. I'm currently reconfiguring my dev environment and seem to have run into a little issue with brew, python, and perhaps pyenv too.



The stack trace I am getting from trying to run brew install mopidy is the following:




  1. Command executed: ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/mopidy/2.2.1

  2. Error: Homebrew python stacktrace screenshot


As you can probably tell, the version of Python in which homebrew is using apparently does not have setuptools installed. I have done the following:




  • Installed python3 and python2 with pyenv and installed python3 with brew


Then:




  • set up pyenv with 2.7 and 3.7.1 | pyenv versions:


    • system

    • * 2.7.5 (set by /Users/adonis/.pyenv/version

    • 3.7.1



  • I have brew link'd everything brew doctor told me to


    • Current brew doctor output



  • I have attempted the following pip commands:


    • pip install setuptools

    • pip3 install setuptools

    • pip3.7 install setuptools

    • Also have tried using sudo -H pip install



  • Worth noting that the only Python directories in /usr/local/Cellar/ are the following (ls /usr/local/Cellar | grep python):


    • gst-python

    • python

    • python@2




I have exhausted google and SO for answers and the majority of accepted solutions include either specifying the pip version when using the install command or installing it globally. Not a lot of discussion of this issue on OS X. I am very confused and would like some help! Thanks.










share|improve this question



























    2














    I recently upgraded my laptop to one of the touchbar MacBook Pros. I'm currently reconfiguring my dev environment and seem to have run into a little issue with brew, python, and perhaps pyenv too.



    The stack trace I am getting from trying to run brew install mopidy is the following:




    1. Command executed: ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/mopidy/2.2.1

    2. Error: Homebrew python stacktrace screenshot


    As you can probably tell, the version of Python in which homebrew is using apparently does not have setuptools installed. I have done the following:




    • Installed python3 and python2 with pyenv and installed python3 with brew


    Then:




    • set up pyenv with 2.7 and 3.7.1 | pyenv versions:


      • system

      • * 2.7.5 (set by /Users/adonis/.pyenv/version

      • 3.7.1



    • I have brew link'd everything brew doctor told me to


      • Current brew doctor output



    • I have attempted the following pip commands:


      • pip install setuptools

      • pip3 install setuptools

      • pip3.7 install setuptools

      • Also have tried using sudo -H pip install



    • Worth noting that the only Python directories in /usr/local/Cellar/ are the following (ls /usr/local/Cellar | grep python):


      • gst-python

      • python

      • python@2




    I have exhausted google and SO for answers and the majority of accepted solutions include either specifying the pip version when using the install command or installing it globally. Not a lot of discussion of this issue on OS X. I am very confused and would like some help! Thanks.










    share|improve this question

























      2












      2








      2







      I recently upgraded my laptop to one of the touchbar MacBook Pros. I'm currently reconfiguring my dev environment and seem to have run into a little issue with brew, python, and perhaps pyenv too.



      The stack trace I am getting from trying to run brew install mopidy is the following:




      1. Command executed: ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/mopidy/2.2.1

      2. Error: Homebrew python stacktrace screenshot


      As you can probably tell, the version of Python in which homebrew is using apparently does not have setuptools installed. I have done the following:




      • Installed python3 and python2 with pyenv and installed python3 with brew


      Then:




      • set up pyenv with 2.7 and 3.7.1 | pyenv versions:


        • system

        • * 2.7.5 (set by /Users/adonis/.pyenv/version

        • 3.7.1



      • I have brew link'd everything brew doctor told me to


        • Current brew doctor output



      • I have attempted the following pip commands:


        • pip install setuptools

        • pip3 install setuptools

        • pip3.7 install setuptools

        • Also have tried using sudo -H pip install



      • Worth noting that the only Python directories in /usr/local/Cellar/ are the following (ls /usr/local/Cellar | grep python):


        • gst-python

        • python

        • python@2




      I have exhausted google and SO for answers and the majority of accepted solutions include either specifying the pip version when using the install command or installing it globally. Not a lot of discussion of this issue on OS X. I am very confused and would like some help! Thanks.










      share|improve this question













      I recently upgraded my laptop to one of the touchbar MacBook Pros. I'm currently reconfiguring my dev environment and seem to have run into a little issue with brew, python, and perhaps pyenv too.



      The stack trace I am getting from trying to run brew install mopidy is the following:




      1. Command executed: ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/mopidy/2.2.1

      2. Error: Homebrew python stacktrace screenshot


      As you can probably tell, the version of Python in which homebrew is using apparently does not have setuptools installed. I have done the following:




      • Installed python3 and python2 with pyenv and installed python3 with brew


      Then:




      • set up pyenv with 2.7 and 3.7.1 | pyenv versions:


        • system

        • * 2.7.5 (set by /Users/adonis/.pyenv/version

        • 3.7.1



      • I have brew link'd everything brew doctor told me to


        • Current brew doctor output



      • I have attempted the following pip commands:


        • pip install setuptools

        • pip3 install setuptools

        • pip3.7 install setuptools

        • Also have tried using sudo -H pip install



      • Worth noting that the only Python directories in /usr/local/Cellar/ are the following (ls /usr/local/Cellar | grep python):


        • gst-python

        • python

        • python@2




      I have exhausted google and SO for answers and the majority of accepted solutions include either specifying the pip version when using the install command or installing it globally. Not a lot of discussion of this issue on OS X. I am very confused and would like some help! Thanks.







      python macos homebrew pyenv






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 at 0:43









      waynard

      185




      185





























          active

          oldest

          votes











          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',
          autoActivateHeartbeat: false,
          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%2f53254699%2ftrouble-installing-homebrew-package-mopidy-on-new-environment%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254699%2ftrouble-installing-homebrew-package-mopidy-on-new-environment%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







          這個網誌中的熱門文章

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Anylogic : not able to use stopDelay()