Traceback (most recent call last):


 "C:\salt\bin\lib\site-packages\salt\loader.py", line 1333, in _load_module

mod = imp.load_module(mod_namespace, fn_, fpath, desc)


 "C:\salt\bin\lib\site-packages\salt\modules\tls.py", line 122, in <module>

import OpenSSL


 "C:\salt\bin\lib\site-packages\OpenSSL\__init__.py", line 8, in <module>

from OpenSSL import rand, crypto, SSL


 "C:\salt\bin\lib\site-packages\OpenSSL\rand.py", line 12, in <module>

from OpenSSL._util import (


 "C:\salt\bin\lib\site-packages\OpenSSL\_util.py", line 6, in <module>

from cryptography.hazmat.bindings.openssl.binding import Binding


 "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 141, in <module>

Binding.init_static_locks()


 "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 122, in init_static_locks

cls._ensure_ffi_initialized()


 "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 109, in _ensure_ffi_initialized

cls.lib = build_conditional_library(lib, CONDITIONAL_NAMES)


 "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 69, in build_conditional_library

if not getattr(lib, condition):
AttributeError: cffi library '_openssl' has no function, constant or global variable named 'Cryptography_HAS_EVP_PKEY_DHX'

Traceback (most recent call last):


 "C:\Python27\Scripts\spyder", line 3, in <module>

start_app.main()


 "C:\Python27\lib\site-packages\spyderlib\start_app.py", line 114, in main

from spyderlib import spyder


 "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 155, in <module>

from spyderlib.utils.environ import WinUserEnvDialog


 "C:\Python27\lib\site-packages\spyderlib\utils\environ.py", line 17, in <module>

from spyderlib.widgets.dicteditor import DictEditor


 "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditor.py", line 39, in <module>

from spyderlib.widgets.dicteditorutils import (sort_against, get_size,


 "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditorutils.py", line 78, in <module>

import bs4


 "C:\Python27\lib\site-packages\bs4\__init__.py", line 30, in <module>

from .builder import builder_registry, ParserRejectedMarkup


 "C:\Python27\lib\site-packages\bs4\builder\__init__.py", line 311, in <module>

from . import _html5lib


 "C:\Python27\lib\site-packages\bs4\builder\_html5lib.py", line 57, in <module>

class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'
