• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

receiving error message when trying to test the wifiscan test sample on ESP32

Q&A Forum › Category: ESP32 › receiving error message when trying to test the wifiscan test sample on ESP32
0 Vote Up Vote Down
Carlos Moura asked 4 years ago

Hello, I started the course today and I tried to upload the wifi scan sketch on a ESP32S but iḿ receiving an error: Traceback (most recent call last):
File “/home/camoura/.arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool.py”, line 38, in <module>
import serial
ModuleNotFoundError: No module named ‘serial’
Multiple libraries were found for “WiFi.h”
Used: /home/camoura/.arduino15/packages/esp32/hardware/esp32/1.0.5/libraries/WiFi
Not used: /home/camoura/src/arduino-1.8.13/libraries/WiFi
exit status 1
Error compiling for board ESP32 Dev Module
I use Linux Mint.
The Arduino IDE works fine with Arduino Uno and ESP8266.
 
Thanks
 
Carlos

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Carlos.

I’m not very familiar with using Linux with Arduino IDE.

One of our readers had a similar issue. Here’s the discussion:
https://rntlab.com/question/import-serial-error-with-esp32-on-doit-esp32-revkit-vi-board/

I also found these discussions with several suggestions

  • https://github.com/espressif/esptool/issues/528
  • https://koen.vervloesem.eu/blog/fixing-the-arduino-ide-for-the-esp32esp8266-on-ubuntu-2004/
  • https://forum.arduino.cc/index.php?topic=716663.0

I hope this helps.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.