<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Good morning,<br></div><div dir="ltr"><div><br></div><div>Sorry the inconveniences.<br><div><br></div><div>I write because obtained the next exception and I don´t know found solution.</div><div><br></div><div>The same code works perfectly with python 3.7 and cryptography 2.4.4 but I don´t use python > 3.5 because I need execute my code in a Windows XP.</div><div><br></div><div>I make different test:</div><div><ol><li>python 3.4.4 + crytpgraphy=2.4.2</li><li>python 3.4.4 + crytpgraphy=2.5</li><li>python 2.7.9, but I tried install cryptography==2.9 obtained more errors.</li></ol></div><div>Please can you help me?</div><div><br></div><div>Regards,</div><div><br></div><div>1.</div><div>**************************************************************** </div><div>Unknown exception: Raw<br>Traceback (most recent call last):<br> File "C:\Python34\lib\site-packages\paramiko\transport.py", line 2083, in run self._handler_table[ptype](self, m)<br> File "C:\Python34\lib\site-packages\paramiko\transport.py", line 2199, in _negotiate_keys self.kex_engine.start_kex()<br> File "C:\Python34\lib\site-packages\paramiko\kex_curve25519.py", line 54, in start_kex serialization.Encoding.Raw, serialization.PublicFormat.Raw<br> File "C:\Python34\lib\enum.py", line 255, in __getattr__<br> raise AttributeError(name) from None<br>AttributeError: Raw<br><br>Exception: Raw<br></div><div>**************************************************************** <br></div><div><br></div><div>2.</div><div><div>**************************************************************** <br></div><div>Traceback (most recent call last):<br></div></div><div> File "ssh_client_pk2.py", line 3, in <module><br> import paramiko<br> File "C:\Python34\lib\site-packages\paramiko\__init__.py", line 22, in <module> from paramiko.transport import SecurityOptions, Transport<br> File "C:\Python34\lib\site-packages\paramiko\transport.py", line 129, in <module> class Transport(threading.Thread, ClosingContextManager):<br> File "C:\Python34\lib\site-packages\paramiko\transport.py", line 190, in Transport<br> if KexCurve25519.is_available():<br> File "C:\Python34\lib\site-packages\paramiko\kex_curve25519.py", line 30, in i<br>s_available<br> X25519PrivateKey.generate()<br> File "C:\Python34\lib\site-packages\cryptography\hazmat\primitives\asymmetric\x25519.py", line 38, in generate<br></div><div><div>**************************************************************** <br></div><div><br></div><div>3.</div><div><div>**************************************************************** <br></div><div>Traceback (most recent call last):<br> File "xx.py", line 3, in <module><br> import paramiko<br> File "C:\Python34\lib\site-packages\paramiko\__init__.py", line 22, in <module> from paramiko.transport import SecurityOptions, Transport<br> File "C:\Python34\lib\site-packages\paramiko\transport.py", line 129, in <module> class Transport(threading.Thread, ClosingContextManager):<br> File "C:\Python34\lib\site-packages\paramiko\transport.py", line 190, in Transport if KexCurve25519.is_available():<br> File "C:\Python34\lib\site-packages\paramiko\kex_curve25519.py", line 30, in is_available X25519PrivateKey.generate()<br> File "C:\Python34\lib\site-packages\cryptography\hazmat\primitives\asymmetric\x25519.py", line 38, in generate from cryptography.hazmat.backends.openssl.backend import backend<br> File "C:\Python34\lib\site-packages\cryptography\hazmat\backends\openssl\__init__.py", line 7, in <module> from cryptography.hazmat.backends.openssl.backend import backend<br> File "C:\Python34\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 71, in <module> from cryptography.hazmat.bindings.openssl import binding<br> File "C:\Python34\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 15, in <module> from cryptography.hazmat.bindings._openssl import ffi, lib<br>ImportError: DLL load failed: No se puede encontrar el módulo especificado.<br></div><div>**************************************************************** <br></div></div><div><br></div></div></div><div>Best Regards,</div></div>
</div></div>