python 파일을 실행시켰고, ModuleNotFoundError: No module named 'bluetooth'라는 에러가 출력되었다.
bluetooth 모듈은 라즈베리 파이 OS에 기본적으로 탑재되어있는 줄 알았는데 추가로 설치해줘야 했다.
sudo apt-get install bluetooth libbluetooth-dev
sudo python3 -m pip install pybluez
'Python' 카테고리의 다른 글
[python] 아스키 코드 문자 변환 ord( ), chr( ) (0) | 2022.08.02 |
---|---|
[python] 에러 해결: AttributeError: partially initialized module '---' has no attribute '---' (0) | 2022.06.13 |
[python] 딕셔너리에서 최대값의 키 값 추출하기 (0) | 2022.03.04 |
plt 축 제거하고 이미지만 저장하기 (0) | 2021.10.03 |