How exactly does one install `.egg` files?











up vote
7
down vote

favorite
1












When I tried downloading the Sphinx installer here, my computer couldn’t find a default application to run the installer.



easy_install doesn’t work either. I’m running Python 2.7 but only have easy_install for 2.5 and 2.6



Furthermore, the analogous one for 2.7 is an .egg file.










share|improve this question
























  • I'm running Mac OS 10.6.8.
    – LCL
    Jul 5 '12 at 1:32










  • I think easy_install has been replaced by pip, try pip install sphinx. Also, the egg file is just a zip, so you could unzip it and then use python setup.py install.
    – solarc
    Jul 5 '12 at 17:34












  • unzip setuptools-0.6c11-py2.7.egg didn't work after I downloaded the .egg, and I still can't open it. Am I doing something wrong?
    – LCL
    Jul 5 '12 at 17:57










  • Oh, Sphinx' egg is a zip file, but setuptools seems like a bash file, here says to run as sh setuptools-0.6c11-py2.7.egg --prefix=~
    – solarc
    Jul 5 '12 at 18:02










  • I did that as well - it says that there's no such file or directory (I couldn't unzip sphinx either).
    – LCL
    Jul 5 '12 at 18:16















up vote
7
down vote

favorite
1












When I tried downloading the Sphinx installer here, my computer couldn’t find a default application to run the installer.



easy_install doesn’t work either. I’m running Python 2.7 but only have easy_install for 2.5 and 2.6



Furthermore, the analogous one for 2.7 is an .egg file.










share|improve this question
























  • I'm running Mac OS 10.6.8.
    – LCL
    Jul 5 '12 at 1:32










  • I think easy_install has been replaced by pip, try pip install sphinx. Also, the egg file is just a zip, so you could unzip it and then use python setup.py install.
    – solarc
    Jul 5 '12 at 17:34












  • unzip setuptools-0.6c11-py2.7.egg didn't work after I downloaded the .egg, and I still can't open it. Am I doing something wrong?
    – LCL
    Jul 5 '12 at 17:57










  • Oh, Sphinx' egg is a zip file, but setuptools seems like a bash file, here says to run as sh setuptools-0.6c11-py2.7.egg --prefix=~
    – solarc
    Jul 5 '12 at 18:02










  • I did that as well - it says that there's no such file or directory (I couldn't unzip sphinx either).
    – LCL
    Jul 5 '12 at 18:16













up vote
7
down vote

favorite
1









up vote
7
down vote

favorite
1






1





When I tried downloading the Sphinx installer here, my computer couldn’t find a default application to run the installer.



easy_install doesn’t work either. I’m running Python 2.7 but only have easy_install for 2.5 and 2.6



Furthermore, the analogous one for 2.7 is an .egg file.










share|improve this question















When I tried downloading the Sphinx installer here, my computer couldn’t find a default application to run the installer.



easy_install doesn’t work either. I’m running Python 2.7 but only have easy_install for 2.5 and 2.6



Furthermore, the analogous one for 2.7 is an .egg file.







macos installation python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 '14 at 19:33









JakeGould

30.7k1093135




30.7k1093135










asked Jul 5 '12 at 1:08









LCL

138115




138115












  • I'm running Mac OS 10.6.8.
    – LCL
    Jul 5 '12 at 1:32










  • I think easy_install has been replaced by pip, try pip install sphinx. Also, the egg file is just a zip, so you could unzip it and then use python setup.py install.
    – solarc
    Jul 5 '12 at 17:34












  • unzip setuptools-0.6c11-py2.7.egg didn't work after I downloaded the .egg, and I still can't open it. Am I doing something wrong?
    – LCL
    Jul 5 '12 at 17:57










  • Oh, Sphinx' egg is a zip file, but setuptools seems like a bash file, here says to run as sh setuptools-0.6c11-py2.7.egg --prefix=~
    – solarc
    Jul 5 '12 at 18:02










  • I did that as well - it says that there's no such file or directory (I couldn't unzip sphinx either).
    – LCL
    Jul 5 '12 at 18:16


















  • I'm running Mac OS 10.6.8.
    – LCL
    Jul 5 '12 at 1:32










  • I think easy_install has been replaced by pip, try pip install sphinx. Also, the egg file is just a zip, so you could unzip it and then use python setup.py install.
    – solarc
    Jul 5 '12 at 17:34












  • unzip setuptools-0.6c11-py2.7.egg didn't work after I downloaded the .egg, and I still can't open it. Am I doing something wrong?
    – LCL
    Jul 5 '12 at 17:57










  • Oh, Sphinx' egg is a zip file, but setuptools seems like a bash file, here says to run as sh setuptools-0.6c11-py2.7.egg --prefix=~
    – solarc
    Jul 5 '12 at 18:02










  • I did that as well - it says that there's no such file or directory (I couldn't unzip sphinx either).
    – LCL
    Jul 5 '12 at 18:16
















I'm running Mac OS 10.6.8.
– LCL
Jul 5 '12 at 1:32




I'm running Mac OS 10.6.8.
– LCL
Jul 5 '12 at 1:32












I think easy_install has been replaced by pip, try pip install sphinx. Also, the egg file is just a zip, so you could unzip it and then use python setup.py install.
– solarc
Jul 5 '12 at 17:34






I think easy_install has been replaced by pip, try pip install sphinx. Also, the egg file is just a zip, so you could unzip it and then use python setup.py install.
– solarc
Jul 5 '12 at 17:34














unzip setuptools-0.6c11-py2.7.egg didn't work after I downloaded the .egg, and I still can't open it. Am I doing something wrong?
– LCL
Jul 5 '12 at 17:57




unzip setuptools-0.6c11-py2.7.egg didn't work after I downloaded the .egg, and I still can't open it. Am I doing something wrong?
– LCL
Jul 5 '12 at 17:57












Oh, Sphinx' egg is a zip file, but setuptools seems like a bash file, here says to run as sh setuptools-0.6c11-py2.7.egg --prefix=~
– solarc
Jul 5 '12 at 18:02




Oh, Sphinx' egg is a zip file, but setuptools seems like a bash file, here says to run as sh setuptools-0.6c11-py2.7.egg --prefix=~
– solarc
Jul 5 '12 at 18:02












I did that as well - it says that there's no such file or directory (I couldn't unzip sphinx either).
– LCL
Jul 5 '12 at 18:16




I did that as well - it says that there's no such file or directory (I couldn't unzip sphinx either).
– LCL
Jul 5 '12 at 18:16










2 Answers
2






active

oldest

votes

















up vote
0
down vote













pip installed packages should go to "virtualenv" environment.



Here is some discussion related to the matter:



http://jamiecurle.co.uk/blog/installing-pip-virtualenv-and-virtualenvwrapper-on-os-x/



Also please read the comments.






share|improve this answer





















  • Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
    – WayToDoor
    Dec 5 '16 at 9:20




















up vote
0
down vote













You can go to this setuptools page and download the ez_setup.py script. Open the terminal emulator and type



sudo python /path/to/your/ez_setup.py


Later you will install the setuptools and the easy_install command will be available for your python. Then you just need to type easy_install to install you egg file.






share|improve this answer























    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',
    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%2f445062%2fhow-exactly-does-one-install-egg-files%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
    0
    down vote













    pip installed packages should go to "virtualenv" environment.



    Here is some discussion related to the matter:



    http://jamiecurle.co.uk/blog/installing-pip-virtualenv-and-virtualenvwrapper-on-os-x/



    Also please read the comments.






    share|improve this answer





















    • Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
      – WayToDoor
      Dec 5 '16 at 9:20

















    up vote
    0
    down vote













    pip installed packages should go to "virtualenv" environment.



    Here is some discussion related to the matter:



    http://jamiecurle.co.uk/blog/installing-pip-virtualenv-and-virtualenvwrapper-on-os-x/



    Also please read the comments.






    share|improve this answer





















    • Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
      – WayToDoor
      Dec 5 '16 at 9:20















    up vote
    0
    down vote










    up vote
    0
    down vote









    pip installed packages should go to "virtualenv" environment.



    Here is some discussion related to the matter:



    http://jamiecurle.co.uk/blog/installing-pip-virtualenv-and-virtualenvwrapper-on-os-x/



    Also please read the comments.






    share|improve this answer












    pip installed packages should go to "virtualenv" environment.



    Here is some discussion related to the matter:



    http://jamiecurle.co.uk/blog/installing-pip-virtualenv-and-virtualenvwrapper-on-os-x/



    Also please read the comments.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jul 9 '12 at 8:02









    Mikko Ohtamaa

    92031332




    92031332












    • Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
      – WayToDoor
      Dec 5 '16 at 9:20




















    • Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
      – WayToDoor
      Dec 5 '16 at 9:20


















    Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
    – WayToDoor
    Dec 5 '16 at 9:20






    Link down. Archive : web.archive.org/web/20130517081138/https://jamiecurle.co.uk/… Error : api-d.com/snaps/2016-12-05_10-20-43-evp8u2sktq.png
    – WayToDoor
    Dec 5 '16 at 9:20














    up vote
    0
    down vote













    You can go to this setuptools page and download the ez_setup.py script. Open the terminal emulator and type



    sudo python /path/to/your/ez_setup.py


    Later you will install the setuptools and the easy_install command will be available for your python. Then you just need to type easy_install to install you egg file.






    share|improve this answer



























      up vote
      0
      down vote













      You can go to this setuptools page and download the ez_setup.py script. Open the terminal emulator and type



      sudo python /path/to/your/ez_setup.py


      Later you will install the setuptools and the easy_install command will be available for your python. Then you just need to type easy_install to install you egg file.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        You can go to this setuptools page and download the ez_setup.py script. Open the terminal emulator and type



        sudo python /path/to/your/ez_setup.py


        Later you will install the setuptools and the easy_install command will be available for your python. Then you just need to type easy_install to install you egg file.






        share|improve this answer














        You can go to this setuptools page and download the ez_setup.py script. Open the terminal emulator and type



        sudo python /path/to/your/ez_setup.py


        Later you will install the setuptools and the easy_install command will be available for your python. Then you just need to type easy_install to install you egg file.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 12 '14 at 20:06









        Excellll

        11k74162




        11k74162










        answered Aug 3 '13 at 6:14









        neo_blackcap

        1011




        1011






























            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.





            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%2fsuperuser.com%2fquestions%2f445062%2fhow-exactly-does-one-install-egg-files%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

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!