CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))",),)
You are having issues with ssl. Some of these have entered in recent releases for us (using self signed keys) and so we have had to switch ssl_verification off in conda.
This wasn't enough though, and we also had to manually remove the REQUESTS_CA_BUNDLE environment variable that we were using to specify the path to the SSL certificate.
# Remove SSL
conda config --set ssl_verify false
See github issue here - https://github.com/ContinuumIO/anaconda-issues/issues/10340
Related
we recently configured aws privatelink to snowflake account and updated python connector (v.1.8.0) properties to use privatelink URL.
Connection keeps failing with below error.
Failed to execute request: HTTPSConnectionPool(host='testaccount.us-west-2.privatelink.snowflakecomputing.com', port=443): Max retries exceeded with url: /session/v1/login-request?warehouse=TEST_WH&request_id=12345&request_guid=f5467 (Caused by ProtocolError('Connection aborted.', BadStatusLine("''",)))
Has anyone encountered this issue when using AWS privatelink?
Any inputs would be greatly appreciated.
On the host where you are running python, if linux or OSX, can you run:
curl -v -L https://testaccount.us-west-2.privatelink.snowflakecomputing.com:443
Do you know if you have a proxy in place allowing your Web URL to work?
https://www.digitalcitizen.life/how-set-proxy-server-all-major-internet-browsers-windows
That error is because the python code is unable to reach the privatelink URL. Either it's on a host that is blocked, there is a firewall blocking, or you require a proxy.
I am trying to create a new environment from Anaconda navigator and from conda prompt. I cannot install python libraries as well. I get below error:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2Elapsed: -An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will get you on your way.If your current network has https://www.anaconda.com blocked, please filea support request with your network engineering team.SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/r/noarch/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'tls_process_server_certificate\', \'certificate verify failed\')])")))'))
I tried the solutions from the web, still no help
Try using a terminal and use the following command.
conda create -n testenv python=3.5
Let me know if you have any questions! The video below might help
https://youtu.be/pNqXHQUSEsc
I´m new in Python and Django and I'm trying to create a virtual enviroment for work with these two. I'm on Windows and when I try to create the virtual enviroments with the command
conda create --name myDjangoEnv django
this error shows up:
WARNING: A space was detected in your requested environment path
'C:\Users\Paul Miranda\AppData\Local\conda\conda\envs\myDjangoEnv'
Spaces in paths can sometimes be problematic.
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/pro/noarch/repodata.json.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/pro/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
I have tried turning off the firewall and create it in the C:\ProgramData\Anaconda3 path because the possible issue with the spaces in the user name, but neither of the two works.
What can I do to solve this?
I solved this problem using the Anaconda Prompt application. In my case the commands doesn't work with the Windows CMD but they worked in the Anaconda Promt.
Does anyone know how to use pip install for pdftable? I have tried pulling it from github and that pip install does not work. I have also tried using pdftable version 0.0.3 all the way up to version 1.0 and none of them work is it because the versions of pdftables are all old versions that are no longer working?
I was able to install it I just had to pull the zip file in, but now I have another problem which I could use help with, my code is as follows:
c = pdftables_api.Client('My API Key from github')
c.xlsx(r'C:\Users\test\Documents\Excel files\test.pdf', 'output.xlsx')
after I run this i get the following error:
ConnectionError: HTTPSConnectionPool(host='pdftables.com', port=443): Max retries exceeded with url: /api?key=11799n7n515r&format=xlsx-multiple (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))
I dont know how to get around this so any suggestions would be great!
My application running with Uwsgi on the server that using proxy. The server proxy is in one network. But whenever the application trying to make https request (443), it raises an error like it cannot connect to internet.
HTTPSConnectionPool(host='api.blabla.com', port=443): Max retries exceeded with url: /endpoint/v2/checkout_url (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
for proxy, I'm using squid for http and https. and for the client side, the proxy has been setup system-wide.
Kindly need advice from this issue. thanks in advance.