-
Notifications
You must be signed in to change notification settings - Fork 140
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
Error when installing: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' #559
Comments
I'm not certain there is an active maintainer if this project at the
moment. There are several pull requests outstanding...
…On Thu, Mar 23, 2023, 3:22 PM Carlos Correa ***@***.***> wrote:
I get the following error when executing my psiTurk server after upgrading
to psiTurk 3.3.1 and installing into a new virtualenv (Python 3.10):
...
File "/Users/carlos/proj/exp/env/lib/python3.10/site-packages/psiturk/experiment.py", line 10, in <module>
import requests
File "/Users/carlos/proj/exp/env/lib/python3.10/site-packages/requests/__init__.py", line 95, in <module>
from urllib3.contrib import pyopenssl
File "/Users/carlos/proj/exp/env/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/Users/carlos/proj/exp/env/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/Users/carlos/proj/exp/env/lib/python3.10/site-packages/OpenSSL/crypto.py", line 3268, in <module>
_lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Following this Stack Overflow post
<https://stackoverflow.com/questions/74981558/error-updating-python3-pip-attributeerror-module-lib-has-no-attribute-openss>,
I was able to resolve the issue by pinning cryptography to 38.0.4 in my
requirements.txt. For a more general fix in psiTurk, the answer notes the
issue can be fixed by upgrading openssl.
—
Reply to this email directly, view it on GitHub
<#559>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM5SQPCR336LEYLRDBIHHTW5SPILANCNFSM6AAAAAAWFUKVPI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I'm not super active on this these days but happy to delegate PR merging to someone with experience and desire to see a few things merged in! |
I'm a full time developer, and maintain an internal independent fork of psiturk; I'm willing to do it, at least for a while. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following error when executing my psiTurk server after upgrading to psiTurk 3.3.1 and installing into a new virtualenv (Python 3.10):
Following this Stack Overflow post, I was able to resolve the issue by pinning
cryptography
to 38.0.4 in my requirements.txt. For a more general fix in psiTurk, the answer notes the issue can be fixed by upgrading openssl.The text was updated successfully, but these errors were encountered: