AttributeError: module 'bcrypt' has no attribute '__about__'

 

[에러 메시지]

version = _bcrypt.__about__.__version__

                          ^^^^^^^^^^^^^^^^^

AttributeError: module 'bcrypt' has no attribute '__about__'

 

 

bcrypt 일부 버전의 버그로 보입니다.

아래처럼 버전 다운그레이드하거나, 최신 버전으로 업그레이드해야 하는데,

일단 아래처럼 다운그레이드하면 해당 오류는 사라집니다. 

 

pip install bcrypt==4.0.1

or

poetry add bcrypt@4.0.1  

 

반응형

+ Recent posts