You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError: module 'unittest' has no attribute 'IsolatedAsyncioTestCase' #8
Activity
mirusu400 commentedon Jul 6, 2021
IsolatedAsyncioTestCase메소드가 버전 3.8에 추가되었고 그거보다 하위 버전이라서 그런 것 같습니다.UnitTest 부분은 테스트 용도로 쓰이고 실제 API 사용에 아무 문제가 없으므로 단순히 문제있는 해당 소스코드 부분을 지우고 사용하시면 될것 같습니다.
해결방법
우선 문제있는 dc_api를 pip에서 지웁니다
그리고 나서, 아래의 소스코드를 다운받습니다.
위 소스코드 받으셔서
dc_api.py로 저장하고, 실행할 메인 소스코드와 동일한 경로에 놔둡니다.이후 동일하게
import dc_api하신 후 사용하시면 됩니다.mirusu400 commentedon Jul 10, 2021
최신버전에 버전 검사를 추가했으므로 이제 pip install 로 설치하면 안뜰겁니다.