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!
Related
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 am trying to add a package to PyPi so I can install it with Pip. I am trying to add it using twine upload dist/*.
This causes me to get multiple SSL errors such as raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='upload.pypi.org', port=443): Max retries exceeded with url: /legacy/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))).
I am using a school laptop and I presume that this is something my administrator has done however I can install stuff with pip by using pip3 install --trusted-host pypi.org --trusted-h\ost files.pythonhosted.org.
I was wondering if there was another to add my package to pip?
My guess is your school has something in place where they are replacing the original cert with their own, you could maybe get around it using --cert and referencing the path for your schools cert, but I think an easier workaround is to copy the files to a non school computer and upload from there.
This could be a number of things, including an out-of-date version of twine, or (more likely) an out-of-date version of OpenSSL. Some possible solutions are listed here: https://github.com/pypa/twine/issues/273
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
up until yesterday i've been using Spyder on Anaconda to run code with no issues whatsoever. Today, while running one of my scripts that include quandl, i get an SSL error
"SSLError: HTTPSConnectionPool(host='www.quandl.com', port=443): Max
retries exceeded with url: /api/v3/datasets/WIKI/EIX/data?order=asc
(Caused by SSLError(SSLError("bad handshake: Error([('SSL routines',
'ssl3_get_server_certificate', 'certificate verify failed')],)",),))"
I then uninstalled my Anaconda and installed the most recent version, and am now getting an HTTP error
"CondaHTTPError: HTTP 000 CONNECTION FAILED for url
https://repo.anaconda.com/pkgs/r/win-64/repodata.json.bz2"
It seems that every request is being denied (including any other package i attempt to upgrade or install using pip or conda including pip and conda themselves), does someone have any clue as to what is happening? I could really use some help, i'm completely stumped and really need to get back to work.
Thank you in advance.
I searched for similar questions and suspect this to be a proxy setting issue after searching Stack Overflow, but I am just wondering why for example requests.get('http://google.com') returns the correct response without any errors when executed in cmd on a windows 7 machine, but when I start making requests in my django project and use the manage.py runserver test site, I get the following error:
CONNECTIONERROR: Max retries exceeded with url: (Caused by <class 'socket.gaierror'>: [Errno 11004] getaddrinfo failed)
I assume the problem is the test server that you are running with manage.py since the code works in cmd. Thanks in advance for any explanations of why this is occurring.
The DNS lookup is failing on your server. You should investigate why your server cannot resolve the domain name you're using.