<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">우분투에서 아두이노 실행시 "canberra-gtk-module" 에러가 날 경우 아래 패키지를 설치.</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">sudo apt install libcanberra-gtk-module libcanberra-gtk3-module</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;</span></p>
<p><font face="맑은 고딕, malgun gothic">우분투에서 ft232 보드가 자동으로 disconnect 될때,(sudo dmesg에서 확인가능)</font></p>
<p>
   <code style="margin: 0px; padding: var(--su2) var(--su4); border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: var(--ff-mono); font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: pre-wrap; color: #232629; border-radius: var(--br-sm);">sudo apt-get remove brltty //패키지 제거</code>
   </p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">자바 시리얼 패키지 미설치로 import serial 에러 발생시,</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;Traceback (most recent call last):</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp; File "/home/geoworld/.arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool.py", line 38, in &lt;module&gt;</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp; &nbsp; import serial</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">ImportError: No module named serial</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&gt;&nbsp; sudo apt install python3-pip</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&gt;&nbsp; pip3 install pyserial</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">or</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&gt;&nbsp;</span><span style="color: #555555; font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">udo apt install python-is-python3</span></p>
<span style="color: #555555; font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">출처:&nbsp;</span><a href="https://busyman.tistory.com/64" target="_blank" style="text-decoration-line: none; color: #555555;"><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">https://busyman.tistory.com/64</span></a><span style="color: #555555; font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px;">&nbsp;[사는 이야기]</span>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span>&nbsp;</p>
<p><font face="맑은 고딕, malgun gothic">&nbsp;</font></p>
<p><font face="맑은 고딕, malgun gothic">아래 에러 발생시,</font></p>
<p><font face="맑은 고딕, malgun gothic">exec: "python": executable file not found in $PATH</font></p>
<p><br /></p>
<p>&gt;&nbsp;<span style="font-family: inherit; color: var(--highlight-color); font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; white-space: inherit; font-size: 13px;">sudo ln -s /usr/</span><span class="hljs-built_in" style="font-family: inherit; color: var(--highlight-literal); font-style: inherit; font-variant: inherit; font-weight: inherit; white-space: inherit; font-size: 13px; margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit;">bin</span><span style="font-family: inherit; color: var(--highlight-color); font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; white-space: inherit; font-size: 13px;">/python3 /usr/</span><span class="hljs-built_in" style="font-family: inherit; color: var(--highlight-literal); font-style: inherit; font-variant: inherit; font-weight: inherit; white-space: inherit; font-size: 13px; margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit;">bin</span><span style="font-family: inherit; color: var(--highlight-color); font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; white-space: inherit; font-size: 13px;">/python</span><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;;">&nbsp;</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;;">&nbsp;</span></p>
<p><font face="맑은 고딕, malgun gothic">USB 장치를 모든 사용자가 쓸 수 있도록 해준다.</font></p>
<p><font face="맑은 고딕, malgun gothic">&gt; sudo chmod 666 /dev/ttyUSB0</font></p>
<p><font face="맑은 고딕, malgun gothic">-------------------------------------------------------------------------------------------------------------------------------------------------------------</font></p>
<p><span style="background-color: #ffffff; font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px; color: #000000;">포트에 접근,쓰기 권한이 부족해 permission denined에러가 발생. 권한 설정을 해줍니다.</span></p>
<p style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; outline: none; line-height: 1.5; color: #666666; background-color: #ffffff;"></p>
<p><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px; color: #000000;">1. 포트에 직접 권한 설정 : 아두이노 설치 폴더 위치에서 실행 :&nbsp; sudo chmod -R 777 /dev/ttyUSB0(usb포트이름)&nbsp;</span><br /><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px; color: #000000;">2. 유저에 포트 권한 그룹 설정 :&nbsp; </span><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;;"><span style="font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;; font-size: 12px; color: #000000;">sudo usermod -a -G dialout $USE</span><span style="font-size: 12px; color: #000000;">R</span></span></p>
<p>&nbsp;</p>