Open mbenhalima opened 5 years ago
dowgrading to paramiko==1.17.0 works around this issue, but if there is a way this could be fixed in paramiko 2.4.x that will be great in order for us to use the latest paramiko updates.
pip2.7 install paramiko==1.17.0
pip2.7 install cryptography==2.6.1
NOTE: i mainly choose version 1.17.0, as it is the last paramiko version that does not have the libffi dependency
Can you replicate this problem in a fresh virtualenv? Generally import issues like this are indicative of some sort of issue in the python path. If you create an empty virtualenv and have no issues installing the packages then the problem is likely to be with your environment.
I also have this problem. I'm deploying it to lambda. In a venv it works fine. but in lambda it fails. Downgrading to 1.17.0 also fixes it for me!
Hi,
I had the same problem with jupyter
when I ran jupyter notebook
or jupyter lab
command. In my case, I installed a package called libffi6
. The site SourcePython recommends installing libffi6
and another one called zlib
but zlib
already been installed on my OS. After installations the problem was fixed.
using paramiko 2.4.2 with python 2.7.9 cffi==1.12.2 bcrypt==3.1.6 cryptography==2.6.1 on Centos 6.9
Unable to run paramiko although libffi is installed:
libffi is installed:
Also, '.libs.cffi.backend' appears to have the correct libffi version: