-
Notifications
You must be signed in to change notification settings - Fork 421
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
AttributeError: 'FFILibrary' object has no attribute 'Cryptography_HAS_SSL_ST' #559
Comments
I fear we might be requiring a newer cryptography now? Does (if that’s the case and the only instance, we could fix it by simply using |
Yes. Upgrading
|
Now this is very odd, because pyOpenSSL depends on cryptography>=1.3.4. It should have refused to install… Could re-try using |
@hynek we test our minimum version so it's definitely not a bug here. https://github.com/pyca/pyopenssl/blob/master/tox.ini#L12 and https://github.com/pyca/pyopenssl/blob/master/.travis.yml#L50-L61 |
This is the trio of pinned dependencies causing this.
|
It raises this error.
after
I didn't do anything except deploying changes to server. Now, I can't perform any |
Got the same problem, I can't use pip anymore: Please help this is urgent! thanks |
Got it solved - I had to comment out those buggy lines, updates all libraries and now everything works |
Upgrading cryptography fixed it so I could use 16.2.0. pip install -U cryptography Put my at version: |
When going for
|
Looks like you're probably stuck in a loop where the bundled copy of requests in pip is trying to use pyopenssl to make the connection but cryptography is outdated so it fails. Remove pyopenssl first and then try to upgrade cryptography and reinstall pyopenssl |
Thanks reaperhulk tried out what you suggested and I got one step closer to get it to working; quickly removing python-openssl and trying out |
Summary of what fixes the issue (high fives to both @embedded1 and @khaverblad):
|
Since the release of 16.2.0 we keep running into this
AttributeError
. Seems like it's related to changes made in #526. Pinning pyOpenSSL to 16.1.0 fixes the issue.OS: CentOS 6.8
Python: 2.7.12 (comes from https://ius.io if that matters)
OpenSSL: 1.0.1e
The text was updated successfully, but these errors were encountered: