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

    m5burner error ImportError: No module named serial.tools.list_ports

    Scheduled Pinned Locked Moved SOFTWARE
    10 Posts 5 Posters 18.8k Views 1 Watching
    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.
    • J Offline
      Jerman
      last edited by Jerman

      i got this error:
      ImportError: No module named serial.tools.list_ports
      but i have downloaded pyserial
      what happened?

      m5stackM 1 Reply Last reply Reply Quote 0
      • m5stackM Online
        m5stack @Jerman
        last edited by

        @jerman what PC system are you used?

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jerman
          last edited by

          Linux

          1 Reply Last reply Reply Quote 0
          • m5stackM Online
            m5stack
            last edited by

            could you take a screenshot ? our linux machine test the software totally normal.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              Jerman @m5stack
              last edited by

              @m5stack 0_1585559586119_Screenshot from 2020-03-30 17-11-37.png

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

                Your python install is missing some tools needed for M5Burner to run.
                Please check out this link https://github.com/espressif/esptool/issues/350

                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
                • lukasmaximusL Offline
                  lukasmaximus
                  last edited by

                  There are some certain processes you need to make any esp32 device work on linux, such as adding the user to the dialout group, usb permissions etc, this video expains about it https://www.youtube.com/watch?v=ZZdTl0400uM

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    GertKok
                    last edited by

                    Hi Guys, had the same issue. Running PopOS (Ubuntu/Debian) Did all that was said here and the video. No Joy. Tried V1.4.5 instead of V1.4.5.1 and my M5Stack Gray flashed. Could it be an issue with 1.4.5.1?

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jerman
                      last edited by

                      I have found the solution!
                      do sudo su first
                      the pip install pyserial
                      or
                      pip3 install pyserial

                      :)

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

                        Opps, yes, Python need to be installed as super user (su) in order to work properly.

                        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

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post