Pip is not working due to proxy issues












0

















I was previously on a network that ran behind a proxy but now I am not and I have change the network option to "None" in system settings. My apt.conf file shows no proxy and my environment variables are also set to no proxy but still pip connects to my earlier proxy. I have been struggling with this for quite long. Earlier I thought this was all because of network behind the proxy but now I am on an open network and still the problem persists.










share|improve this question




















  • 3





    Please do not post pictures of text. Instead post text as text here and use the formatting options you are given by this site.

    – Thomas
    May 26 '18 at 14:19






  • 1





    Could you please edit your question to include the output of type pip; printenv http{,s}_proxy? Thanks.

    – David Foerster
    Jan 22 at 14:49






  • 1





    Have you confirmed that you actually deconfigured the proxy on the command line? Adjusting the network manager "proxy" settings might not have deconfigured the proxy everywhere.

    – Thomas Ward
    Jan 22 at 15:00
















0

















I was previously on a network that ran behind a proxy but now I am not and I have change the network option to "None" in system settings. My apt.conf file shows no proxy and my environment variables are also set to no proxy but still pip connects to my earlier proxy. I have been struggling with this for quite long. Earlier I thought this was all because of network behind the proxy but now I am on an open network and still the problem persists.










share|improve this question




















  • 3





    Please do not post pictures of text. Instead post text as text here and use the formatting options you are given by this site.

    – Thomas
    May 26 '18 at 14:19






  • 1





    Could you please edit your question to include the output of type pip; printenv http{,s}_proxy? Thanks.

    – David Foerster
    Jan 22 at 14:49






  • 1





    Have you confirmed that you actually deconfigured the proxy on the command line? Adjusting the network manager "proxy" settings might not have deconfigured the proxy everywhere.

    – Thomas Ward
    Jan 22 at 15:00














0












0








0










I was previously on a network that ran behind a proxy but now I am not and I have change the network option to "None" in system settings. My apt.conf file shows no proxy and my environment variables are also set to no proxy but still pip connects to my earlier proxy. I have been struggling with this for quite long. Earlier I thought this was all because of network behind the proxy but now I am on an open network and still the problem persists.










share|improve this question


















I was previously on a network that ran behind a proxy but now I am not and I have change the network option to "None" in system settings. My apt.conf file shows no proxy and my environment variables are also set to no proxy but still pip connects to my earlier proxy. I have been struggling with this for quite long. Earlier I thought this was all because of network behind the proxy but now I am on an open network and still the problem persists.







networking proxy pip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 22 at 14:47









David Foerster

28k1365111




28k1365111










asked May 26 '18 at 14:16









Deepak KumarDeepak Kumar

711111




711111








  • 3





    Please do not post pictures of text. Instead post text as text here and use the formatting options you are given by this site.

    – Thomas
    May 26 '18 at 14:19






  • 1





    Could you please edit your question to include the output of type pip; printenv http{,s}_proxy? Thanks.

    – David Foerster
    Jan 22 at 14:49






  • 1





    Have you confirmed that you actually deconfigured the proxy on the command line? Adjusting the network manager "proxy" settings might not have deconfigured the proxy everywhere.

    – Thomas Ward
    Jan 22 at 15:00














  • 3





    Please do not post pictures of text. Instead post text as text here and use the formatting options you are given by this site.

    – Thomas
    May 26 '18 at 14:19






  • 1





    Could you please edit your question to include the output of type pip; printenv http{,s}_proxy? Thanks.

    – David Foerster
    Jan 22 at 14:49






  • 1





    Have you confirmed that you actually deconfigured the proxy on the command line? Adjusting the network manager "proxy" settings might not have deconfigured the proxy everywhere.

    – Thomas Ward
    Jan 22 at 15:00








3




3





Please do not post pictures of text. Instead post text as text here and use the formatting options you are given by this site.

– Thomas
May 26 '18 at 14:19





Please do not post pictures of text. Instead post text as text here and use the formatting options you are given by this site.

– Thomas
May 26 '18 at 14:19




1




1





Could you please edit your question to include the output of type pip; printenv http{,s}_proxy? Thanks.

– David Foerster
Jan 22 at 14:49





Could you please edit your question to include the output of type pip; printenv http{,s}_proxy? Thanks.

– David Foerster
Jan 22 at 14:49




1




1





Have you confirmed that you actually deconfigured the proxy on the command line? Adjusting the network manager "proxy" settings might not have deconfigured the proxy everywhere.

– Thomas Ward
Jan 22 at 15:00





Have you confirmed that you actually deconfigured the proxy on the command line? Adjusting the network manager "proxy" settings might not have deconfigured the proxy everywhere.

– Thomas Ward
Jan 22 at 15:00










2 Answers
2






active

oldest

votes


















-1














You can try by adding the proxy:



HTTP_PROXY=<proxy-URI:port>
HTTPS_PROXY=<proxy-URI:port>


And also create a file at etc/apt/apt.conf:



Acquire::http::Proxy "<proxy_IP:port>";





share|improve this answer



















  • 1





    I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

    – Deepak Kumar
    May 26 '18 at 16:13



















-1














See how to Setup a proxy under Linux.



The HTTP_PROXY env var should be respected. But if not you can specify it manually with pip install --proxy http://user:password@proxyserver:port package.






share|improve this answer























    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%2f1040615%2fpip-is-not-working-due-to-proxy-issues%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









    -1














    You can try by adding the proxy:



    HTTP_PROXY=<proxy-URI:port>
    HTTPS_PROXY=<proxy-URI:port>


    And also create a file at etc/apt/apt.conf:



    Acquire::http::Proxy "<proxy_IP:port>";





    share|improve this answer



















    • 1





      I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

      – Deepak Kumar
      May 26 '18 at 16:13
















    -1














    You can try by adding the proxy:



    HTTP_PROXY=<proxy-URI:port>
    HTTPS_PROXY=<proxy-URI:port>


    And also create a file at etc/apt/apt.conf:



    Acquire::http::Proxy "<proxy_IP:port>";





    share|improve this answer



















    • 1





      I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

      – Deepak Kumar
      May 26 '18 at 16:13














    -1












    -1








    -1







    You can try by adding the proxy:



    HTTP_PROXY=<proxy-URI:port>
    HTTPS_PROXY=<proxy-URI:port>


    And also create a file at etc/apt/apt.conf:



    Acquire::http::Proxy "<proxy_IP:port>";





    share|improve this answer













    You can try by adding the proxy:



    HTTP_PROXY=<proxy-URI:port>
    HTTPS_PROXY=<proxy-URI:port>


    And also create a file at etc/apt/apt.conf:



    Acquire::http::Proxy "<proxy_IP:port>";






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 26 '18 at 14:44









    kvmaheshkvmahesh

    1278




    1278








    • 1





      I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

      – Deepak Kumar
      May 26 '18 at 16:13














    • 1





      I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

      – Deepak Kumar
      May 26 '18 at 16:13








    1




    1





    I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

    – Deepak Kumar
    May 26 '18 at 16:13





    I have already mentioned that i am not working with a network behind proxy. So, i don't follow your suggestion.

    – Deepak Kumar
    May 26 '18 at 16:13













    -1














    See how to Setup a proxy under Linux.



    The HTTP_PROXY env var should be respected. But if not you can specify it manually with pip install --proxy http://user:password@proxyserver:port package.






    share|improve this answer




























      -1














      See how to Setup a proxy under Linux.



      The HTTP_PROXY env var should be respected. But if not you can specify it manually with pip install --proxy http://user:password@proxyserver:port package.






      share|improve this answer


























        -1












        -1








        -1







        See how to Setup a proxy under Linux.



        The HTTP_PROXY env var should be respected. But if not you can specify it manually with pip install --proxy http://user:password@proxyserver:port package.






        share|improve this answer













        See how to Setup a proxy under Linux.



        The HTTP_PROXY env var should be respected. But if not you can specify it manually with pip install --proxy http://user:password@proxyserver:port package.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 26 '18 at 18:13









        norajnoraj

        31927




        31927






























            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%2f1040615%2fpip-is-not-working-due-to-proxy-issues%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

            Category:香港粉麵

            List *all* the tuples!

            Channel [V]