Skip to content

module 'cryptography.utils' has no attribute 'bit_length' #2115

Answered by ktbyers
victorg737 asked this question in Q&A
Discussion options

You must be logged in to vote

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 and pip install -e . that repository. There is also a way you can directly install the develop branch via pip (the syntax is just a bit cumbersome).

Regards, Kirk

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ktbyers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants