"cryptography/x509/name.py", line 28, in
_ASN1_TYPE_TO_ENUM = dict((i.value, i) for i in _ASN1Type)
TypeError: 'type' object is not iterable
pip uninstall enum
pip install enum34
can fixed this bug
We list enum34 in our requirements already. It might make sense to add this to the FAQ though.
Dupe of #4010
i am getting same error!! i am unable to unintsall enum and install enum34..
pip uninstall enum
pip install enum34
By using these commands i am unable fix bug.can i can any solution or reason for this issue?
@tannupiyush Were you able to figure out a solution? Running into the same issue - cannot uninstall enum because running pip uninstall enum gives me the same TypeError.
@harshini4 @tannupiyush have you ever solved the problem ,running pip uninstall enum gives me the same TypeError.
@tongpinmo , I had the same issue, was able to solve it by manually removing enum and crapytography. Here are the steps that I did -
@nithinn86 ok,thank you very much
pipenv install enum34
Most helpful comment
@tongpinmo , I had the same issue, was able to solve it by manually removing enum and crapytography. Here are the steps that I did -