[python] AttributeError: module 'serial' has no attribute 'Serial'

[python] AttributeError: module 'serial' has no attribute 'Serial'

enter image description here

[python] AttributeError: module ‘serial’ has no attribute ‘Serial’

처음에는 ModuleNotFoundError: No module named ‘serial’ 에러가 발생해서 pip install serial 설치를 했는데 제목과 같은 에러가 발생

잘못된 라이브러리를 설치해서 발생하는 문제 였음

pip install pyserial

끝 :)

도움이 되셨다면 더 좋은 정보 공유를 위해 광고 클릭 부탁 드립니다 :)

댓글 쓰기

0 댓글