module 'cryptography.utils' has no attribute 'bit_length' #2115
-
using python 3.8 and netmiko 3.3.2 and having issues connecting with HP Procurve switches, have tried a few different models. I can connect to cisco gear just fine. Here is the error I am getting: I saw in posts it was fixed in the development in this post assuming its still not fixed in general realease, how to I install the develop branch? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Probably the easiest fix is to just use a downgraded version of the
Alternatively, you should be able to Regards, Kirk |
Beta Was this translation helpful? Give feedback.
Probably the easiest fix is to just use a downgraded version of the
cryptography
library.pip install cryptography==2.9.2
Alternatively, you should be able to
git clone
the develop branch andpip install -e .
that repository. There is also a way you can directly install thedevelop
branch viapip
(the syntax is just a bit cumbersome).Regards, Kirk