Install PIP while non-root user gives ModuleNotFoundErrorThe suggested way to handle pip(easy_install) with...

Has any human ever had the choice to leave Earth permanently?

Why do neural networks need so many training examples to perform?

Custom shape shows unwanted extra line

Is there a way to not have to poll the UART of an AVR?

How to not let the Identify spell spoil everything?

When obtaining gender reassignment/plastic surgery overseas, is an emergency travel document required to return home?

Square Root Distance from Integers

Does the US government have any planning in place to ensure there's no shortages of food, fuel, steel and other commodities?

Why is it that Bernie Sanders is always called a "socialist"?

Why is that max-Q doesn't occur in transonic regime?

Is there a file that always exists and a 'normal' user can't lstat it?

Taking headphones when quitting job

How can the probability of a fumble decrease linearly with more dice?

Memory usage: #define vs. static const for uint8_t

I have trouble understanding this fallacy: "If A, then B. Therefore if not-B, then not-A."

Why do all the books in Game of Thrones library have their covers facing the back of the shelf?

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Does an Eldritch Knight's Weapon Bond protect him from losing his weapon to a Telekinesis spell?

Which RAF squadrons and aircraft types took part in the bombing of Berlin on the 25th of August 1940?

What is the industry term for house wiring diagrams?

Eww, those bytes are gross

Could a warlock use the One with Shadows warlock invocation to turn invisible, and then move while staying invisible?

Am I correct in stating that the study of topology is purely theoretical?

How would an AI self awareness kill switch work?



Install PIP while non-root user gives ModuleNotFoundError


The suggested way to handle pip(easy_install) with homebrew?Circular dependency in pip/virtualenv installation instructions?How do I install pip, virtualenv, python 2.6, and python 2.7 on Ubuntu 12.04?IOError: [Errno 13] Permission denied with pip installationInstalling PIP without root accessImport Error: No module named - After manual Installbs4 python module issuepython3-pip is installed, but pip3 doesnt workPython TensorFlow module not showing up on a Windows 7 machine despite it showing up via “conda list.”ModuleNotFoundError: No module named 'distutils.core'













0















I am trying to install PIP on a server which I do not have root access. I managed to download get-pip.py using wget https://bootstrap.pypa.io/get-pip.py



Though when I try to run the following: python get-pip.py --user, I receive the following error:




ModuleNotFoundError: No module named '_ctypes'




Some research showed me that I am missing a specific library named libffi, though I am unable to install it because I do not have root access.



Another article suggested that I configure --without-ensurepip, however, I do not know how to go about doing this. Could someone please explain what it means to "configure"?



I am running python 3.7 on an Apache, Bluehost server.










share|improve this question





























    0















    I am trying to install PIP on a server which I do not have root access. I managed to download get-pip.py using wget https://bootstrap.pypa.io/get-pip.py



    Though when I try to run the following: python get-pip.py --user, I receive the following error:




    ModuleNotFoundError: No module named '_ctypes'




    Some research showed me that I am missing a specific library named libffi, though I am unable to install it because I do not have root access.



    Another article suggested that I configure --without-ensurepip, however, I do not know how to go about doing this. Could someone please explain what it means to "configure"?



    I am running python 3.7 on an Apache, Bluehost server.










    share|improve this question



























      0












      0








      0








      I am trying to install PIP on a server which I do not have root access. I managed to download get-pip.py using wget https://bootstrap.pypa.io/get-pip.py



      Though when I try to run the following: python get-pip.py --user, I receive the following error:




      ModuleNotFoundError: No module named '_ctypes'




      Some research showed me that I am missing a specific library named libffi, though I am unable to install it because I do not have root access.



      Another article suggested that I configure --without-ensurepip, however, I do not know how to go about doing this. Could someone please explain what it means to "configure"?



      I am running python 3.7 on an Apache, Bluehost server.










      share|improve this question
















      I am trying to install PIP on a server which I do not have root access. I managed to download get-pip.py using wget https://bootstrap.pypa.io/get-pip.py



      Though when I try to run the following: python get-pip.py --user, I receive the following error:




      ModuleNotFoundError: No module named '_ctypes'




      Some research showed me that I am missing a specific library named libffi, though I am unable to install it because I do not have root access.



      Another article suggested that I configure --without-ensurepip, however, I do not know how to go about doing this. Could someone please explain what it means to "configure"?



      I am running python 3.7 on an Apache, Bluehost server.







      apache-http-server python pip python3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 11 at 17:05







      Gugmi

















      asked Feb 6 at 20:49









      GugmiGugmi

      12




      12






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Here's an example:



          mkdir ~/src
          wget http://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz
          tar -zxvf Python-3.7.2.tgz
          cd Python-3.7.2
          ./configure --without-ensurepip --prefix=$HOME/.local LDFLAGS="-
          L$HOME/.local/lib64" CPPFLAGS="-I $HOME/.local/lib/libffi-3.2.1/include"
          make
          make install


          See : use-different-python-version-with-virtualenv






          share|improve this answer










          New contributor




          user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1402855%2finstall-pip-while-non-root-user-gives-modulenotfounderror%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Here's an example:



            mkdir ~/src
            wget http://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz
            tar -zxvf Python-3.7.2.tgz
            cd Python-3.7.2
            ./configure --without-ensurepip --prefix=$HOME/.local LDFLAGS="-
            L$HOME/.local/lib64" CPPFLAGS="-I $HOME/.local/lib/libffi-3.2.1/include"
            make
            make install


            See : use-different-python-version-with-virtualenv






            share|improve this answer










            New contributor




            user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              1














              Here's an example:



              mkdir ~/src
              wget http://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz
              tar -zxvf Python-3.7.2.tgz
              cd Python-3.7.2
              ./configure --without-ensurepip --prefix=$HOME/.local LDFLAGS="-
              L$HOME/.local/lib64" CPPFLAGS="-I $HOME/.local/lib/libffi-3.2.1/include"
              make
              make install


              See : use-different-python-version-with-virtualenv






              share|improve this answer










              New contributor




              user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                1












                1








                1







                Here's an example:



                mkdir ~/src
                wget http://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz
                tar -zxvf Python-3.7.2.tgz
                cd Python-3.7.2
                ./configure --without-ensurepip --prefix=$HOME/.local LDFLAGS="-
                L$HOME/.local/lib64" CPPFLAGS="-I $HOME/.local/lib/libffi-3.2.1/include"
                make
                make install


                See : use-different-python-version-with-virtualenv






                share|improve this answer










                New contributor




                user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Here's an example:



                mkdir ~/src
                wget http://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz
                tar -zxvf Python-3.7.2.tgz
                cd Python-3.7.2
                ./configure --without-ensurepip --prefix=$HOME/.local LDFLAGS="-
                L$HOME/.local/lib64" CPPFLAGS="-I $HOME/.local/lib/libffi-3.2.1/include"
                make
                make install


                See : use-different-python-version-with-virtualenv







                share|improve this answer










                New contributor




                user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited 4 hours ago









                zx485

                979813




                979813






                New contributor




                user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 6 hours ago









                user85954user85954

                111




                111




                New contributor




                user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                user85954 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1402855%2finstall-pip-while-non-root-user-gives-modulenotfounderror%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

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                    looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...