🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Compile error - ImportError: No module name serial

    Arduino
    4
    4
    7.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rexlee
      last edited by

      I get the above compile error , compiling for a M5Stick C
      I have the board manager & library installed OK. I can see all the SP32 boards & all the M5Stack examples.
      I would appreciate any help. Although I have been working with micros sonce 1972, I am now 72 and whilst trying to keep up the head is not as agile as it used to be.

      Lee
      ![alt text](image 0_1588829153516_4bf9bc04-59b2-41f4-8421-ec60ba0bcd33-image.png url)

      liemphL 1 Reply Last reply Reply Quote 0
      • liemphL
        liemph @rexlee
        last edited by

        @rexlee I assume you use Arduino IDE. What example did you compile for your M5Stick C? If it was your own code, then please upload the code so other members can take a look.

        1 Reply Last reply Reply Quote 0
        • R
          robalstona
          last edited by

          Probably you need to install python serial library used by esptool.

          Could you try this command in console
          python -m pip install pyserial

          1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3
            last edited by

            The compiler cannot find wire.h which is needed for serial communication. please add wire.h

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post