Comments (7)
@abubelinha from just a brief google https://stackoverflow.com/questions/73830524/attributeerror-module-lib-has-no-attribute-x509-v-flag-cb-issuer-check ?
from pydrive2.
Thanks @shcheklein , I had already seen that but I don't understand it.
I had not changed pip or any other things since the last time I used my PyDrive2 script.
Have you also had to upgrade pip
or pyopenssl
at some point during the last year to keep using PyDrive2?
from pydrive2.
Have you also had to upgrade pip or pyopenssl at some point during the last year to keep using PyDrive2?
Not that I'm aware of tbh.
from pydrive2.
Could you please check your pyopenssl
version? Mine seems to be 20.0.1
pip show pyopenssl
Name: pyOpenSSL
Version: 20.0.1
Summary: Python wrapper module around the OpenSSL library
Home-page: https://pyopenssl.org/
Author: The pyOpenSSL developers
Author-email: [email protected]
License: Apache License, Version 2.0
Location: c:\users\abu\appdata\local\programs\python\python38\lib\site-packages
Requires: cryptography, six
Required-by: PyDrive2
from pydrive2.
Nevermind. Thanks @shcheklein
The problem solved with:
pip install --upgrade pyopenssl
and now:
pip show pyopenssl
Name: pyOpenSSL
Version: 23.2.0
Summary: Python wrapper module around the OpenSSL library
Home-page: https://pyopenssl.org/
Author: The pyOpenSSL developers
Author-email: cryptography-dev@python.org
License: Apache License, Version 2.0
Location: c:\users\abu\appdata\local\programs\python\python38\lib\site-packages
Requires: cryptography
Required-by: PyDrive2
What I don't understand is:
Shouldn't pyopenssl
have already been upgraded to the required version when I upgraded pydrive2
just a few minutes before?
from pydrive2.
PyDrive specifies it as pyOpenSSL >= 19.1.0
. I'm not sure if there is a need to bump the requirement, since I don't know what was the underlying issue. Was there some critical error in the previous version that got fixed?
from pydrive2.
No idea. I just know what I mentioned above.
All this is pretty obscure to me.
It seems pyopenssl
was installed in my system when I first installed PyDrive (or PyDrive2), since no other packages required it.
But at some point (today) PyDrive2 failed to work properly despite my pyopenssl was 20.0.1 > 19.1.0, as I described
Did you check your installed version?
EDIT:
Anyway, my PyDrive2 script works again after the pyopenssl
upgrade, so it is not an issue for me anymore.
Don't know if all this means requirements should be changed or not. Feel free to close the issue when you decide.
from pydrive2.
Related Issues (20)
- How do I write to specific tab? HOT 1
- fetch a specific folder id by folder name HOT 4
- Missing 1.17.1 release? HOT 1
- auth: LocalWebserverAuth: fail if in non-interactive mode
- ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2427) HOT 2
- Review and fix issues with find
- Create Succesfull Authentication using Google OAuth client ID for a remote server accessible via SSH in a local machine HOT 1
- AssertionError on using fsspec with service account HOT 1
- [Q]Set Disable Download HOT 1
- Would you be interested to add type hints?
- pyopenssl is a dependency, but it does not seem to be used
- httplib2 is a direct dependency but is not added as one
- SaveCredentialsFile() does not store anything
- CommandLineAuth Generate Wrong Link HOT 1
- colab TypeError: GoogleAuth.LocalWebserverAuth() takes from 1 to 3 positional arguments but 5 were given HOT 1
- Can't upload file with my service account HOT 1
- fs.makedirs() fails unless you put a file in the folder (shared drive)
- Delete/Trash files when authenticating with a Service Account HOT 2
- Error in pull/push "The query is too complex." HOT 7
- Regsister fsspec interface with fsspec HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydrive2.