🤖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

    SOFTWARE
    5
    10
    15.3k
    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
      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
        m5stack @Jerman
        last edited by

        @jerman what PC system are you used?

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

          Linux

          1 Reply Last reply Reply Quote 0
          • m5stackM
            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
              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
                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
                  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
                    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
                      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
                        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
                        • First post
                          Last post