Python/Error

[ERROR] AttributeError: 'EntryPoints' object has no attribute 'get'

메린지 2023. 1. 30. 20:41

코드 돌리다가 이런 에러가 나왔는데,, 뭔가 구글링을 해보면서 느낀게

AttributeError: '~~~' object has no attribute '~~~' 이런 종류의 에러는

버전이 안맞는 경우가 많은? 케이스인 것 같다. (그,, 혹시 나만 몰랏나,,,,,? ㅋ.ㅋ...😅)

 

나는 오류 중에 한 번 등장했떤 pytorch-lightning이 문젠가 했는데 찾아보니

importlib-metadata 가 없거나/버전이 높은거 같앗다!

나는 일단 설치가 안되어 있었음,, 허헣

 

이 오류는 일단 5.0.0 밑으로 설치해야 하는 것 같아서

$ pip install improtlib-metadata==4.13.0

이렇게 설치하고 돌리니까 잘돌아간다~~~~ 굿

https://stackoverflow.com/questions/73929564/entrypoints-object-has-no-attribute-get-digital-ocean

 

'EntryPoints' object has no attribute 'get' - Digital ocean

I have made a deplyoment to Digital ocean, on staging (Heroku server) the app is working well, but Digital ocean it's failing with the error below, what could be the issue : AttributeError at /admi...

stackoverflow.com

참조할 사이트입니당