Hello Brian.
We're here to help.
Do you receive any error message while accessing PIP installer when firewall is on?
If you do, please share a screenshot (https://bit.ly/3hmUdkG) of the error.
HI Dinesh
Unfortunately, the program had already been entered as an exception. And also as a comand line exception. See screenshot.
As a (you never know) I've deleted and reinserted it - just to seeif it makes any difference.
I need to ensure that's the version/copy/instance of pip that is the default now however. I will do that next and let you know, but for now none of this is workingl I just tried to use pip install a few minites ago, which spurred me to have a look at your answer.
all the best
Brian
Thank you for sharing us the screenhots, Brian.
You can try adding the file to exception (if possible) by following the steps in this article.
Note : You can also try the command line exception.
If issue persists, please uncheck 'Enable Cybercapture technology' (Open AVG - Menu - Settings - General - Detections - Scroll down to find the option)
Please try the above step & let us know if it helps.
Hi Shawn
Unfortunately, these have not worked and I'm still getting the same error when the firewall is ON.
I have updated 'wheel' and 'pip' themselves,by turning off the firewall. But if I try again with the firewall ON, again I get the following:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000214511D7100>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/wheel/
Any other ideas?
Regards
Brian
Hello Brian. Thank you for your patience and I apologize for the delayed response. My name is Shawn and I am writing to you on behalf of the AVG Senior Support team. I will help you.
Specific to your concern, I will provide detailed instruction to change settings in your AVG Internet Security to enable pip to access the web through the firewall, as follows:
1. Open AVG -> Menu -> Settings
2. Click to SEARCH -> Type geek:area into the text box that appears, and select AVG Geek from the search results.
- For more information about using the AVG Geek Settings: https://is.gd/8cvyky
3. Go to Enhanced firewall and enable "Internet Connection Sharing mode" and "Allow all connections with Friends when in Private mode"
4. Close greek area
Hi Shawn
Unfortunately, these have not worked and I'm still getting the same error when the firewall is ON.
I have updated 'wheel' and 'pip' themselves,by turning off the firewall. But if I try again with the firewall ON, again I get the following:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000214511D7100>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/wheel/
Any other ideas?
Regards
Brian
Hi Avinash
This is the error message I get.
C:\Users\brian>pip install requests
Hi Avinash
The error I get is:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000010CC4BA2EE0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/requests/
For this example, I was trying to install 'requests'.
Brian
I recently upgraded to Pyton 3.9 from 3,8 and previously had 'pip installer' working fine from the command line. Since the upgrade, pip cannot access the internet. If I switch off the firewall, it can.
But I'd obviously prefer to have it switched on all the time.
How can I enable pip to access the web through the firewall?
Thanks in advance for any ideas.
Brian
We appreciate your time & efforts in trying to fix this issue.
To further investigate this, we've sent you an email with detailed instructions to share the AVG diagnostic logs from your computer.
Please check your inbox/spam folders for the email and use it to get back to us.
Just to update. The firewall also blocks access to modules within programs I've already written (and were working previously). Again, I can prove that by 'halting' the firewall for 10 minutes - the program runs fine and finds eg. requests.
Hope to hear from you soon. This is driving me crazy.
Regards
Brian
HI Dinesh
Unfortunately, the program had already been entered as an exception. And also as a comand line exception. See screenshot.
As a (you never know) I've deleted and reinserted it - just to seeif it makes any difference.
I need to ensure that's the version/copy/instance of pip that is the default now however. I will do that next and let you know, but for now none of this is workingl I just tried to use pip install a few minites ago, which spurred me to have a look at your answer.
all the best
Brian
Hello Brian. Thank you for your patience and I apologize for the delayed response. My name is Shawn and I am writing to you on behalf of the AVG Senior Support team. I will help you.
Specific to your concern, I will provide detailed instruction to change settings in your AVG Internet Security to enable pip to access the web through the firewall, as follows:
1. Open AVG -> Menu -> Settings
2. Click to SEARCH -> Type geek:area into the text box that appears, and select AVG Geek from the search results.
- For more information about using the AVG Geek Settings: https://is.gd/8cvyky
3. Go to Enhanced firewall and enable "Internet Connection Sharing mode" and "Allow all connections with Friends when in Private mode"
4. Close greek area
Hello Brian.
We're here to help.
Do you receive any error message while accessing PIP installer when firewall is on?
If you do, please share a screenshot (https://bit.ly/3hmUdkG) of the error.
Thank you for sharing us the screenhots, Brian.
You can try adding the file to exception (if possible) by following the steps in this article.
Note : You can also try the command line exception.
If issue persists, please uncheck 'Enable Cybercapture technology' (Open AVG - Menu - Settings - General - Detections - Scroll down to find the option)
Please try the above step & let us know if it helps.
Hi Avinash
This is the error message I get.
C:\Users\brian>pip install requests
Hi Avinash
The error I get is:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000010CC4BA2EE0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/requests/
For this example, I was trying to install 'requests'.
Brian