Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'verify' from 'OpenSSL.crypto' (unknown location) #155

Open
djhmateer opened this issue Nov 29, 2024 · 1 comment

Comments

@djhmateer
Copy link
Contributor

After running a pipenv update yesterday I got:

ImportError: cannot import name 'verify' from 'OpenSSL.crypto' (unknown location) when starting the app.

I've found that adding a force version to the Pipenv file fixes it:

# force this version
# probably used by requests below
# otherwise get ImportError: cannot import name 'verify' from 'OpenSSL.crypto' (unknown location)
pyopenssl = "==24.2.1"

requests = {extras = ["socks"], version = "*"}

https://pypi.org/project/pyOpenSSL/ - verify has been dropped in the latest version.

@pjrobertson
Copy link

Confirmed that pip install pyOpenSSL==24.2.1 fixes this issue. pyOpenSSL version 24.3.0 fails

Note: macOS, python 3.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants