Closed dcharbonnier closed 2 years ago
Thank you @dcharbonnier for reporting the issue. This is caused by release of Python Cryptography v35, release on 29th Sept. To correct this issue enter following commands:
source ~/.platformio/penv/bin/activate
pip install "cryptography<4"
cargo +esp build
The issue is being discussed at https://matrix.to/#/#esp-rs:matrix.org FYI @ivmarkov
there is no ~/.platformio/penv/bin/activate
It is somehow here:
/root/.platformio/packages/framework-espidf/
- as the error message points out.
Not sure how this /root
is mapped out when using docker images.
The above is basically a quick workaround until, I guess - PlatformIO and ESP-IDF release an official patch. The issue is not even related to this example, but a generic one.
Given that this problem is pinned in the meantime, we can probably close this issue as a duplicate.
Just following the instruction does not work