<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body><div style="font-family:Helvetica,Arial;font-size:13px">Hi Mario,</div><div style="font-family:Helvetica,Arial;font-size:13px"><br></div><div style="font-family:Helvetica,Arial;font-size:13px">Before we do anything else please try the following:</div><div style="font-family:Helvetica,Arial;font-size:13px"><br></div><div style="font-family:Helvetica,Arial;font-size:13px">* Create a new virtualenv</div><div style="font-family:Helvetica,Arial;font-size:13px">* Install the latest paramiko and cryptography into the virtualenv</div><div style="font-family:Helvetica,Arial;font-size:13px">* Run your code in that virtualenv and see if you get the error</div><div style="font-family:Helvetica,Arial;font-size:13px"><br></div><div style="font-family:Helvetica,Arial;font-size:13px">If you do, please try to reduce the code until you have the minimum number of lines that can reproduce the problem and then provide that code to us. We can then replicate your issue and try to help you fix it.</div><div style="font-family:Helvetica,Arial;font-size:13px"><br></div><div style="font-family:Helvetica,Arial;font-size:13px">-Paul</div> <div class="gmail_signature"></div> <br><p class="airmail_on">On August 6, 2019 at 9:00:43 PM, Mario Saornil García (<a href="mailto:mariosgsg@gmail.com">mariosgsg@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>
<title></title>
<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>
_______________________________________________
<br>Cryptography-dev mailing list
<br><a href="mailto:Cryptography-dev@python.org">Cryptography-dev@python.org</a>
<br><a href="https://mail.python.org/mailman/listinfo/cryptography-dev">https://mail.python.org/mailman/listinfo/cryptography-dev</a>
<br></div></div></span></blockquote></body></html>