Hello
It is my first post, however I have created a few projects with the Arduino IDE without a hassle. I recently bought the ESP32S CAM boards and use a FT232RL to program it. If I create a ESP232 project in Windows OS, I can compile and upload the sketch to the board no problem. Everything works 100%. However, if I open it on a Mac (my normal machine) and try to compile even a blank project (the one that opens up by default) with the board set to ESP32 Dev (or any for that matter) and try to Verify the code, I get a compilation error relating to Python. I see it is using Python 2.7. I have 3.9 installed as well but do not know how to make the IDE use Python 3.9 (I think the error is the python version).
Output below:
Traceback (most recent call last):
File "esptool.py", line 57, in
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports.py", line 29, in
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_posix.py", line 31, in
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_osx.py", line 32, in
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool
exit status 255
/Applications/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board AI Thinker ESP32-CAM.
Any ideas? If you see above, it is pointing to 2.7. I have restarted, reinstalled, removed the IDE, reinstalled etc. If I run $python --version I see 3.9.1
Thanks,
Craig