Skip to content

Instantly share code, notes, and snippets.

@defbobo
Created October 12, 2018 01:49
Show Gist options
  • Select an option

  • Save defbobo/9e6312a3bfea4aa2a0e00f4b0f9b6c9e to your computer and use it in GitHub Desktop.

Select an option

Save defbobo/9e6312a3bfea4aa2a0e00f4b0f9b6c9e to your computer and use it in GitHub Desktop.
Anaconda funny issue on windows10
Problem:
run import OpenSSL, meet:
11 from cryptography import utils
12 from cryptography.exceptions import InternalError
---> 13 from cryptography.hazmat.bindings._openssl import ffi, lib
14 from cryptography.hazmat.bindings.openssl._conditional import CONDITIONAL_NAMES
15
ImportError: DLL load failed: The operating system cannot run %1.
Solve:
pip uninstall cryptography
pip install cryptography
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment