Code Monkey home page Code Monkey logo

Comments (7)

shcheklein avatar shcheklein commented on September 21, 2024

@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.

abubelinha avatar abubelinha commented on September 21, 2024

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.

shcheklein avatar shcheklein commented on September 21, 2024

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.

abubelinha avatar abubelinha commented on September 21, 2024

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.

abubelinha avatar abubelinha commented on September 21, 2024

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.

shcheklein avatar shcheklein commented on September 21, 2024

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.

abubelinha avatar abubelinha commented on September 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.