No installation candidate error when trying to install python-pypdf












1















I need install python-pypdf. So I tried to install it with:





sudo apt-get install python-pypdf


But I get this error:



E: Package 'python-pypdf' has no installation candidate


Why?










share|improve this question

























  • What's your Ubuntu release and what's the output of apt-cache search pypdf?

    – David Foerster
    Jul 1 '17 at 8:25











  • python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)

    – Молюска Моллюсков
    Jul 1 '17 at 8:37











  • Again, what's your Ubuntu release? And could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    Jul 1 '17 at 8:42


















1















I need install python-pypdf. So I tried to install it with:





sudo apt-get install python-pypdf


But I get this error:



E: Package 'python-pypdf' has no installation candidate


Why?










share|improve this question

























  • What's your Ubuntu release and what's the output of apt-cache search pypdf?

    – David Foerster
    Jul 1 '17 at 8:25











  • python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)

    – Молюска Моллюсков
    Jul 1 '17 at 8:37











  • Again, what's your Ubuntu release? And could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    Jul 1 '17 at 8:42
















1












1








1








I need install python-pypdf. So I tried to install it with:





sudo apt-get install python-pypdf


But I get this error:



E: Package 'python-pypdf' has no installation candidate


Why?










share|improve this question
















I need install python-pypdf. So I tried to install it with:





sudo apt-get install python-pypdf


But I get this error:



E: Package 'python-pypdf' has no installation candidate


Why?







apt software-installation python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 1 '17 at 8:24









David Foerster

28.5k1367113




28.5k1367113










asked Jul 1 '17 at 7:36









Молюска МоллюсковМолюска Моллюсков

1614




1614













  • What's your Ubuntu release and what's the output of apt-cache search pypdf?

    – David Foerster
    Jul 1 '17 at 8:25











  • python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)

    – Молюска Моллюсков
    Jul 1 '17 at 8:37











  • Again, what's your Ubuntu release? And could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    Jul 1 '17 at 8:42





















  • What's your Ubuntu release and what's the output of apt-cache search pypdf?

    – David Foerster
    Jul 1 '17 at 8:25











  • python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)

    – Молюска Моллюсков
    Jul 1 '17 at 8:37











  • Again, what's your Ubuntu release? And could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    Jul 1 '17 at 8:42



















What's your Ubuntu release and what's the output of apt-cache search pypdf?

– David Foerster
Jul 1 '17 at 8:25





What's your Ubuntu release and what's the output of apt-cache search pypdf?

– David Foerster
Jul 1 '17 at 8:25













python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)

– Молюска Моллюсков
Jul 1 '17 at 8:37





python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)

– Молюска Моллюсков
Jul 1 '17 at 8:37













Again, what's your Ubuntu release? And could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

– David Foerster
Jul 1 '17 at 8:42







Again, what's your Ubuntu release? And could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

– David Foerster
Jul 1 '17 at 8:42












2 Answers
2






active

oldest

votes


















0














In Ubuntu 14.04, 16.04 and 16.10 open the terminal and type:



sudo apt-get install python-pypdf  


Upstream Debian repositories no longer have the python-pypdf package in the latest stable version of Debian. In Ubuntu 17.04 (and later), open the terminal and type:



sudo apt install python-pypdf2 # Pure-Python library built as a PDF toolkit (Python 2) 





share|improve this answer

































    0














    Ok, from your comments, you are not using Ubuntu, but Parrot Security OS.



    Below command shows where is python-pypdf in my Ubuntu 16.04



    $ apt show python-pypdf
    Package: python-pypdf
    Version: 1:1.13-3
    Priority: optional
    Section: universe/python


    For Ubuntu, below command can add/enable some additional repository which has community maintained free software including python-pypdf



    $ sudo apt-add-repository universe
    $ sudo apt update


    I think you should search/ask this question in Parrot Community.






    share|improve this answer


























    • I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

      – David Foerster
      Jul 1 '17 at 8:23











    • Error: could not find a distribution template for Parrot/JollyRoger

      – Молюска Моллюсков
      Jul 1 '17 at 8:37











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f930925%2fno-installation-candidate-error-when-trying-to-install-python-pypdf%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









    0














    In Ubuntu 14.04, 16.04 and 16.10 open the terminal and type:



    sudo apt-get install python-pypdf  


    Upstream Debian repositories no longer have the python-pypdf package in the latest stable version of Debian. In Ubuntu 17.04 (and later), open the terminal and type:



    sudo apt install python-pypdf2 # Pure-Python library built as a PDF toolkit (Python 2) 





    share|improve this answer






























      0














      In Ubuntu 14.04, 16.04 and 16.10 open the terminal and type:



      sudo apt-get install python-pypdf  


      Upstream Debian repositories no longer have the python-pypdf package in the latest stable version of Debian. In Ubuntu 17.04 (and later), open the terminal and type:



      sudo apt install python-pypdf2 # Pure-Python library built as a PDF toolkit (Python 2) 





      share|improve this answer




























        0












        0








        0







        In Ubuntu 14.04, 16.04 and 16.10 open the terminal and type:



        sudo apt-get install python-pypdf  


        Upstream Debian repositories no longer have the python-pypdf package in the latest stable version of Debian. In Ubuntu 17.04 (and later), open the terminal and type:



        sudo apt install python-pypdf2 # Pure-Python library built as a PDF toolkit (Python 2) 





        share|improve this answer















        In Ubuntu 14.04, 16.04 and 16.10 open the terminal and type:



        sudo apt-get install python-pypdf  


        Upstream Debian repositories no longer have the python-pypdf package in the latest stable version of Debian. In Ubuntu 17.04 (and later), open the terminal and type:



        sudo apt install python-pypdf2 # Pure-Python library built as a PDF toolkit (Python 2) 






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 1 '17 at 9:15

























        answered Jul 1 '17 at 8:48









        karelkarel

        60.3k13131155




        60.3k13131155

























            0














            Ok, from your comments, you are not using Ubuntu, but Parrot Security OS.



            Below command shows where is python-pypdf in my Ubuntu 16.04



            $ apt show python-pypdf
            Package: python-pypdf
            Version: 1:1.13-3
            Priority: optional
            Section: universe/python


            For Ubuntu, below command can add/enable some additional repository which has community maintained free software including python-pypdf



            $ sudo apt-add-repository universe
            $ sudo apt update


            I think you should search/ask this question in Parrot Community.






            share|improve this answer


























            • I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – David Foerster
              Jul 1 '17 at 8:23











            • Error: could not find a distribution template for Parrot/JollyRoger

              – Молюска Моллюсков
              Jul 1 '17 at 8:37
















            0














            Ok, from your comments, you are not using Ubuntu, but Parrot Security OS.



            Below command shows where is python-pypdf in my Ubuntu 16.04



            $ apt show python-pypdf
            Package: python-pypdf
            Version: 1:1.13-3
            Priority: optional
            Section: universe/python


            For Ubuntu, below command can add/enable some additional repository which has community maintained free software including python-pypdf



            $ sudo apt-add-repository universe
            $ sudo apt update


            I think you should search/ask this question in Parrot Community.






            share|improve this answer


























            • I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – David Foerster
              Jul 1 '17 at 8:23











            • Error: could not find a distribution template for Parrot/JollyRoger

              – Молюска Моллюсков
              Jul 1 '17 at 8:37














            0












            0








            0







            Ok, from your comments, you are not using Ubuntu, but Parrot Security OS.



            Below command shows where is python-pypdf in my Ubuntu 16.04



            $ apt show python-pypdf
            Package: python-pypdf
            Version: 1:1.13-3
            Priority: optional
            Section: universe/python


            For Ubuntu, below command can add/enable some additional repository which has community maintained free software including python-pypdf



            $ sudo apt-add-repository universe
            $ sudo apt update


            I think you should search/ask this question in Parrot Community.






            share|improve this answer















            Ok, from your comments, you are not using Ubuntu, but Parrot Security OS.



            Below command shows where is python-pypdf in my Ubuntu 16.04



            $ apt show python-pypdf
            Package: python-pypdf
            Version: 1:1.13-3
            Priority: optional
            Section: universe/python


            For Ubuntu, below command can add/enable some additional repository which has community maintained free software including python-pypdf



            $ sudo apt-add-repository universe
            $ sudo apt update


            I think you should search/ask this question in Parrot Community.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 1 '17 at 12:49

























            answered Jul 1 '17 at 8:07









            alfredalfred

            496138




            496138













            • I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – David Foerster
              Jul 1 '17 at 8:23











            • Error: could not find a distribution template for Parrot/JollyRoger

              – Молюска Моллюсков
              Jul 1 '17 at 8:37



















            • I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

              – David Foerster
              Jul 1 '17 at 8:23











            • Error: could not find a distribution template for Parrot/JollyRoger

              – Молюска Моллюсков
              Jul 1 '17 at 8:37

















            I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

            – David Foerster
            Jul 1 '17 at 8:23





            I recommend to edit this answer to expand it with specific details about what these commands are supposed to do. Plain command sequences are rarely considered answers. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.)

            – David Foerster
            Jul 1 '17 at 8:23













            Error: could not find a distribution template for Parrot/JollyRoger

            – Молюска Моллюсков
            Jul 1 '17 at 8:37





            Error: could not find a distribution template for Parrot/JollyRoger

            – Молюска Моллюсков
            Jul 1 '17 at 8:37


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f930925%2fno-installation-candidate-error-when-trying-to-install-python-pypdf%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 to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?