Pip is not working due to proxy issues

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












https://imgur.com/a/6pblfnW Here is the link to the screenshot of the state of terminal. 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
















  • 1




    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 at 14:19














up vote
0
down vote

favorite












https://imgur.com/a/6pblfnW Here is the link to the screenshot of the state of terminal. 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
















  • 1




    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 at 14:19












up vote
0
down vote

favorite









up vote
0
down vote

favorite











https://imgur.com/a/6pblfnW Here is the link to the screenshot of the state of terminal. 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












https://imgur.com/a/6pblfnW Here is the link to the screenshot of the state of terminal. 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











share|improve this question




share|improve this question










asked May 26 at 14:16









Deepak Kumar

64119




64119







  • 1




    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 at 14:19












  • 1




    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 at 14:19







1




1




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 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 at 14:19










2 Answers
2






active

oldest

votes

















up vote
0
down vote













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




















  • 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 at 16:13

















up vote
0
down vote













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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    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




















    • 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 at 16:13














    up vote
    0
    down vote













    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




















    • 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 at 16:13












    up vote
    0
    down vote










    up vote
    0
    down vote









    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 at 14:44









    kvmahesh

    1197




    1197











    • 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 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 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 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 at 16:13












    up vote
    0
    down vote













    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
























      up vote
      0
      down vote













      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






















        up vote
        0
        down vote










        up vote
        0
        down vote









        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 at 18:13









        noraj

        16116




        16116






















             

            draft saved


            draft discarded


























             


            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491