Getting "cannot import name SFTPIOError"

45 views
Skip to first unread message

Gopal Agrawal

unread,
Sep 5, 2018, 9:21:45 AM9/5/18
to parallel-ssh
# python test.py

Traceback (most recent call last):
 File "test.py", line 58, in <module>
   from pssh.clients import ParallelSSHClient
 File "/home/ga/.Envs/csodev/local/lib/python2.7/site-packages/pssh/clients/__init__.py", line 19, in <module>
   from .native.parallel import ParallelSSHClient
 File "/home/ga/.Envs/csodev/local/lib/python2.7/site-packages/pssh/clients/native/__init__.py", line 19, in <module>
   from .parallel import ParallelSSHClient
 File "/home/ga/.Envs/csodev/local/lib/python2.7/site-packages/pssh/clients/native/parallel.py", line 23, in <module>
   from .single import SSHClient
 File "/home/ga/.Envs/csodev/local/lib/python2.7/site-packages/pssh/clients/native/single.py", line 31, in <module>
   from ssh2.exceptions import SFTPHandleError, \
ImportError: cannot import name SFTPIOError

I see that ssh2.exceptions.c file does not have any definition for SFTPIOError.   Any idea why this is being looked up.   I am running this from a virtualenv. 

paramiko==2.4.1
parallel-ssh==1.6.1
ssh2-python==0.15.0.post9

Any idea what's going on ? 
Thanks 

Reply all
Reply to author
Forward
0 new messages