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

Error building PyCall with julia-1.8.5 due to Cryptography version #1023

Closed
hhaensel opened this issue Jan 10, 2023 · 1 comment
Closed

Error building PyCall with julia-1.8.5 due to Cryptography version #1023

hhaensel opened this issue Jan 10, 2023 · 1 comment

Comments

@hhaensel
Copy link

After installing Julia1.8.5 building of PyCall.jl fails with

AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

The following workaround from aws/aws-sam-cli#4527 (comment) helped in my case:

Under a command prompt enter

pip install --force-reinstall "cryptography==38.0.4"
@hhaensel
Copy link
Author

I just realised that pyopenssl 23.00 has been released, so a

conda update --all

should do the job if cryptography has been installed by conda.
In my case I needed to remove cryptography exlicitly first.

pip uninstall cryptography

and re-add via conda. - My bad!

@hhaensel hhaensel closed this as completed Feb 6, 2023
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

1 participant