Hello,

I am trying to make a executable for my scripts, and I am using Paramiko 
for ssh connectivity. 
After making an executable with pyinstaller using "pyinstaller --onefile 
script.py" command, when I run the executable I am getting the following 
error,

File "interface.py", line 14, in sendCommand
    ssh.connect('192.168.1.1', port=22, username='root', 
password='thinkgreen')
  File "site-packages\paramiko\client.py", line 338, in connect
  File "site-packages\paramiko\transport.py", line 493, in start_client
  File "site-packages\paramiko\transport.py", line 1774, in run
  File "site-packages\paramiko\kex_group1.py", line 75, in parse_next
  File "site-packages\paramiko\kex_group1.py", line 111, in 
_parse_kexdh_reply
  File "site-packages\paramiko\transport.py", line 1619, in _verify_key
  File "site-packages\paramiko\rsakey.py", line 58, in __init__
  File "site-packages\cryptography\hazmat\backends\__init__.py", line 35, 
in def
ault_backend
  File "site-packages\cryptography\hazmat\backends\multibackend.py", line 
33, in
 __init__
ValueError: Multibackend cannot be initialized with no backends. If you are 
seei
ng this error when trying to use default_backend() please try uninstalling 
and r
einstalling cryptography.

Does Pyinstaller support Paramiko? I am a new bee to Python, Can you please 
me on this?

Thanks,
-Sabari

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to