ImportError on python2-paramiko package

Madhukar Gokhale madhukar.gokhale07@gmail.com
Tue Aug 28 16:48:00 GMT 2018


Hi,

I have installed python2-paramiko package for python2.7. However, when
I try to import, it throws the following error.
-----------------------------------------------------------------------------------------------------------
Python 2.7.14 (default, Oct 31 2017, 21:12:13)
[GCC 6.4.0] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import paramiko
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line
22, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line
57, in <module>
    from paramiko.ed25519key import Ed25519Key
  File "/usr/lib/python2.7/site-packages/paramiko/ed25519key.py", line
22, in <module>
    import nacl.signing
  File "/usr/lib/python2.7/site-packages/nacl/signing.py", line 19, in <module>
    import nacl.bindings
  File "/usr/lib/python2.7/site-packages/nacl/bindings/__init__.py",
line 17, in <module>
    from nacl.bindings.crypto_box import (
  File "/usr/lib/python2.7/site-packages/nacl/bindings/crypto_box.py",
line 18, in <module>
    from nacl._sodium import ffi, lib
ImportError: No such file or directory
-----------------------------------------------------------------------------------------------------------------------
I verified that nacl is present in python site-packages and also I'm
able to import nacl alone as,
---------------------------------------------------------------------------------------
>>> import nacl
>>> from nacl._sodium import ffi, lib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No such file or directory
>>>
-----------------------------------------------------------------------------------------
I have installed and used paramiko in Cygwin before. The issue seems
be only after the updates on nacl and paramiko packages on 4th August.

Please find the attached cygcheck.out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 20374 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20180828/48e9990b/attachment.obj>
-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list