Post topics, source code that relate to the Arduino Platform

User avatar
By topcat
#84721 Thank you gentleman. The solution I came up with was to install Python3 using the helpful instructions at...

https://wsvincent.com/install-python3-mac/

...I was pleasantly surprised that solved the problem without further ado - no moving files, re-installing, rolling back, etc. Everything working as expected now.
User avatar
By Zhing J.
#85519 I spent much time to find the solutions. Now I have solved the problems on my MacOS so that I would like to give a summary here. I hope it could help you when you meet the similar issues.

    Install the CP2102 driver (USB to UART Bridge VCP Drivers)
    Silicon Labs Link: https://www.silabs.com/products/develop ... cp-drivers

      Check your USB cable
      There could be the problem with your cable. I used the cable from my power bank. However, it was not the data cable! So please be sure that you are using a data usb cable to connect your board.

        Install Python3
        After I got my COM Port successfully, I still had the problem with compiling. As the picture above, it told me that it could not find Python3 file.

        Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory

        After checking online, I found the problem could be MacOS hasn't preinstalled the python3. (have a look at https://installpython3.com/mac/)

        Finnally, I installed Python3 from python official website for my MacOS.
        Python link: https://www.python.org/downloads/release/python-381/
        User avatar
        By Zhing J.
        #85520 But I met the error problems as following:
        ► No COM Port: I chose the board NodeMCU 1.0 (ESP-12E module), but I cannot find my COM PORT in TOOLS
        ► Error Compiling: I upload the blink for a test, but it showed ERROR as
        Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory


        I spent much time to find the solutions. Now I have solved the problems on my MacOS so that I would like to give a summary here. I hope it could help you when you meet the similar issues.

          ►Install the CP2102 driver (USB to UART Bridge VCP Drivers)
          Silicon Labs Link: https://www.silabs.com/products/develop ... cp-drivers

            ►Check your USB cable
            There could be the problem with your cable. I used the cable from my power bank. However, it was not the data cable! So please be sure that you are using a data usb cable to connect your board.

              ►Install Python3
              After I got my COM Port successfully, I still had the problem with compiling. As the picture above, it told me that it could not find Python3 file.

              Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory

              After checking online, I found the problem could be MacOS hasn't preinstalled the python3. (have a look at https://installpython3.com/mac/)

              Finnally, I installed Python3 from python official website for my MacOS.
              Python link: https://www.python.org/downloads/release/python-381/