Am not able to install SpeechRecognition module on Pepper












0














Hello I am trying to install speechrecogntion python module on Pepper by using the below command.
pip install SpeechRecognition



I am getting the below error.



Any idea how I can fix this issue?



Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/usr/lib/python2.7/site-packages/SpeechRecognition-3.8.1.dist-info'



Thank you!!










share|improve this question



























    0














    Hello I am trying to install speechrecogntion python module on Pepper by using the below command.
    pip install SpeechRecognition



    I am getting the below error.



    Any idea how I can fix this issue?



    Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/usr/lib/python2.7/site-packages/SpeechRecognition-3.8.1.dist-info'



    Thank you!!










    share|improve this question

























      0












      0








      0







      Hello I am trying to install speechrecogntion python module on Pepper by using the below command.
      pip install SpeechRecognition



      I am getting the below error.



      Any idea how I can fix this issue?



      Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/usr/lib/python2.7/site-packages/SpeechRecognition-3.8.1.dist-info'



      Thank you!!










      share|improve this question













      Hello I am trying to install speechrecogntion python module on Pepper by using the below command.
      pip install SpeechRecognition



      I am getting the below error.



      Any idea how I can fix this issue?



      Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/usr/lib/python2.7/site-packages/SpeechRecognition-3.8.1.dist-info'



      Thank you!!







      python nao-robot pepper






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 19 '18 at 17:04









      Innovator-programmer

      6610




      6610
























          2 Answers
          2






          active

          oldest

          votes


















          2














          As mentioned here: You don't have root access on Pepper, which limits where you can install.



          your command tries to install the package to /usr/lib/python2.7/site-packages/ where you would need root acceess to write.



          If you updated pip try:



          /home/nao/.local/bin/pip install --user SpeechRecognition


          if not try:



          pip install --user SpeechRecognition


          this will install the package to another directory where you have write access.






          share|improve this answer































            0














            Yes. You are right , just to add you don’t need to use path as only pip install - - user packagename will work. Thank you very much






            share|improve this answer





















            • If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
              – TVK
              Dec 19 '18 at 13:32











            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%2f53379484%2fam-not-able-to-install-speechrecognition-module-on-pepper%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









            2














            As mentioned here: You don't have root access on Pepper, which limits where you can install.



            your command tries to install the package to /usr/lib/python2.7/site-packages/ where you would need root acceess to write.



            If you updated pip try:



            /home/nao/.local/bin/pip install --user SpeechRecognition


            if not try:



            pip install --user SpeechRecognition


            this will install the package to another directory where you have write access.






            share|improve this answer




























              2














              As mentioned here: You don't have root access on Pepper, which limits where you can install.



              your command tries to install the package to /usr/lib/python2.7/site-packages/ where you would need root acceess to write.



              If you updated pip try:



              /home/nao/.local/bin/pip install --user SpeechRecognition


              if not try:



              pip install --user SpeechRecognition


              this will install the package to another directory where you have write access.






              share|improve this answer


























                2












                2








                2






                As mentioned here: You don't have root access on Pepper, which limits where you can install.



                your command tries to install the package to /usr/lib/python2.7/site-packages/ where you would need root acceess to write.



                If you updated pip try:



                /home/nao/.local/bin/pip install --user SpeechRecognition


                if not try:



                pip install --user SpeechRecognition


                this will install the package to another directory where you have write access.






                share|improve this answer














                As mentioned here: You don't have root access on Pepper, which limits where you can install.



                your command tries to install the package to /usr/lib/python2.7/site-packages/ where you would need root acceess to write.



                If you updated pip try:



                /home/nao/.local/bin/pip install --user SpeechRecognition


                if not try:



                pip install --user SpeechRecognition


                this will install the package to another directory where you have write access.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 19 '18 at 13:38

























                answered Nov 20 '18 at 6:23









                TVK

                36627




                36627

























                    0














                    Yes. You are right , just to add you don’t need to use path as only pip install - - user packagename will work. Thank you very much






                    share|improve this answer





















                    • If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
                      – TVK
                      Dec 19 '18 at 13:32
















                    0














                    Yes. You are right , just to add you don’t need to use path as only pip install - - user packagename will work. Thank you very much






                    share|improve this answer





















                    • If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
                      – TVK
                      Dec 19 '18 at 13:32














                    0












                    0








                    0






                    Yes. You are right , just to add you don’t need to use path as only pip install - - user packagename will work. Thank you very much






                    share|improve this answer












                    Yes. You are right , just to add you don’t need to use path as only pip install - - user packagename will work. Thank you very much







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 20 '18 at 11:56









                    Innovator-programmer

                    6610




                    6610












                    • If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
                      – TVK
                      Dec 19 '18 at 13:32


















                    • If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
                      – TVK
                      Dec 19 '18 at 13:32
















                    If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
                    – TVK
                    Dec 19 '18 at 13:32




                    If you only use "pip install ..." you will use the default pip of version 1.4.1. But it is recommended to update pip as decribed in the link above. If you use "/home/nao/.local/bin/pip install ..." you will instead use the updated version of pip.
                    – TVK
                    Dec 19 '18 at 13:32


















                    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%2f53379484%2fam-not-able-to-install-speechrecognition-module-on-pepper%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







                    Popular posts from this blog

                    Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

                    ts Property 'filter' does not exist on type '{}'

                    mat-slide-toggle shouldn't change it's state when I click cancel in confirmation window