

The workaround is to launch Python which has only M1 version, e.g. Python wheels for M1 is available in arm64 format, the Python executed in x86_64 mode will try to seek for. The problem is caused by invoking Python in x86_64 mode instead of arm64.


The build fail in later stage when it's invoking Python which requires cryptography.Create hello_world project and build it.The build works without problem when build from terminal. Users/georgik/.espressif/python_env/idf4.4_p圓.8_env/lib/python3.8/site-packages/cryptography/hazmat/bindings/_: mach-o, but wrong architecture ImportError: dlopen(/Users/georgik/.espressif/python_env/idf4.4_p圓.8_env/lib/python3.8/site-packages/cryptography/hazmat/bindings/_, 2): no suitable image found.
