Compilation Error
cmdexploit opened this issue Β· comments
Have you searched for existing (open and closed) issues describing the same problem?
Yes
Describe the error
An unexpected error occurred during compilation process...
What do you think causes it?
I don't know
Error/Compile/Output Log
fork/exec /Users/santhoshkumar/Library/Arduino15/packages/deauther/tools/python3/3.7.2-post1/python3: no such file or directory
Compilation error: fork/exec /Users/santhoshkumar/Library/Arduino15/packages/deauther/tools/python3/3.7.2-post1/python3: no such file or directory
Environment (please complete the following information):
- OS: [Mac OS]
- Browser [safari]
- Version [2.7.4]
- Hardware [node MCU ESP8266]
Attempts
What have you already tried and didn't work out.
Additional context
Provide as much information as possible, better too much than too little!
If you don't use this template, your issue might be closed and tagged invalid!
Congrats on opening your first issue on this repository! π
This is a automated message to help you avoid common pitfalls when asking for help online.
π Be sure to:
* π¬π§ Communicate in English so everybody can understand you
* π Have a look at the Wiki and README for information
* π Search for similar issues (open and closed)
* βοΈ Provide enough information to understand, recreate and help out with your problem
* βΉοΈ Let us know if you find a solution and please share it with us
* π Close the issue when your problem has been solved
did you added the custom board manger link and download the boards?
https://raw.githubusercontent.com/SpacehuhnTech/arduino/main/package_spacehuhn_index.json
I'm pretty sure this is a pathing issue in macOS; probably because of a Homebrew python3 install. I was able to successfully compile and upload the sketch by removing the custom board's python3
symbolic link and then creating a new one pointing to my Python3 installation.
Find your systems installation of Python 3:
iroh@shaw ~ % which python3
/opt/homebrew/opt/python@3.10/libexec/bin/python3
Remove the current symbolic link:
iroh@shaw ~ % cd /Users/iroh/Library/Arduino15/packages/deauther/tools/python3/3.7.2-post1
iroh@shaw 3.7.2-post1 % rm -rf python3
Recreate the python3
link and point it to our installation
iroh@shaw 3.7.2-post1 % ln -s /opt/homebrew/opt/python@3.10/libexec/bin/python3 python3
This should be the result:
iroh@shaw 3.7.2-post1 % ls -lah
total 0
drwxr-xr-x@ 4 iroh staff 128B Jan 11 16:09 .
drwxr-xr-x@ 4 iroh staff 128B Jan 11 16:08 ..
-rw-r--r--@ 1 iroh staff 0B Jan 11 16:01 placeholder_for_arduino
lrwxr-xr-x 1 iroh staff 49B Jan 11 16:09 python3 -> /opt/homebrew/opt/python@3.10/libexec/bin/python3
After doing the above, try compiling again and see if that helps.