![aarch64-elf-gcc for mac aarch64-elf-gcc for mac](https://user-images.githubusercontent.com/4463497/99724706-1f4ffa80-2b08-11eb-8cee-8a148945edd5.png)
#AARCH64 ELF GCC FOR MAC INSTALL#
If I run python3 -m pip install -r requirements.txt all the requirements are properly installed and recognized. Installing Python packages from /Users/aveluru/esp/esp-idf/requirements.txt Traceback (most recent call last): File "/Users/aveluru/esp/esp-idf/tools/idf_tools.py", line 1589, in main(sys.argv) File "/Users/aveluru/esp/esp-idf/tools/idf_tools.py", line 1585, in main action_func(args) File "/Users/aveluru/esp/esp-idf/tools/idf_tools.py", line 1312, in action_install_python_env subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr) File "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '' returned non-zero exit status -9įrom some cursory googling, I think what's happening is that the shell is terminating the script due to an infinite loop (exit status 9). When running the install script - at the step where the script installs the python dependerminating the script encies, I'm running into this error: I think I'm getting closer to having a working install of the IDF. Using the Python 3 distribution that is installed with xcodetools and running terminal in "Use Rosetta" mode, I was able to get openssl and all the Python library dependencies up and running.
![aarch64-elf-gcc for mac aarch64-elf-gcc for mac](https://preshing.com/images/gcc-cross-compiler.png)
Somehow messing with the openssl installs left me being unable to use any sort of HTTPS connections, so I decided to do a clean re-install and start from scratch. I think it will arrive tomorrow or next Monday. My laptop finally went to "preparing to ship" state and Apple deducted my money from my bank account. You can probably try installing aarch64's openssl. Traceback (most recent call last): File "/Users/aveluru/esp/esp-idf/tools/idf_tools.py", line 58, in import ssl File "/opt/local/Library/Frameworks/amework/Versions/3.8/lib/python3.8/ssl.py", line 98, in import _ssl # if we can't import it, let the error propagate ImportError: dlopen(/opt/local/Library/Frameworks/amework/Versions/3.8/lib/python3.8/lib-dynload/_, 2): Library not loaded: /opt/local/lib/libssl.1.1.dylib Referenced from: /opt/local/Library/Frameworks/amework/Versions/3.8/lib/python3.8/lib-dynload/_ Reason: image not foundįrom my understanding, the x86 libraries are AOT'ed to a cached compiled file, which Python (that is probably aarch64?) cannot load it. I had to manually set the environment variables as such to proceed:Įxport export export export now I'm running into this issue: (This seems to be the solution to install home-brew for anyone running into that issue)Īfter installing home-brew, I reinstalled openSSL through that, and that resolved the include path issues for cryptography.