Pip is not working due to proxy issues

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
add a comment |

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
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 oftype 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
add a comment |

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

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
networking proxy pip
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 oftype 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
add a comment |
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 oftype 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
add a comment |
2 Answers
2
active
oldest
votes
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>";
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
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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>";
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
add a comment |
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>";
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
add a comment |
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>";
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>";
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
add a comment |
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered May 26 '18 at 18:13
norajnoraj
31927
31927
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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