This will create some nasty surprises in case you do a "proper clean installation of Python 2" for mbed cli (in case you want to run Mbed OS 5.15.x).
I.e.
It will try to compile EVERYTHING - as per usual and then fails when it does not find various Python compilation things.
Compile [ 97.3%]: _speedups.c
[Error] pyconfig.h@122,3: #error unknown multiarch location for pyconfig.h
[Error] pyconfig.h@122,3: #error unknown multiarch location for pyconfig.h
[Error] pyconfig.h@122,3: #error unknown multiarch location for pyconfig.h
[Error] _speedups.c@18,8: unknown type name 'Py_UNICODE'
1:32
Took a good while for me to figure it out... :-(
[x] I confirm this contribution is my own and I agree to license it with Apache 2.0.
[] I confirm the moderators may change the PR before merging it in.
[x] I understand the release model prohibits detailed Git history and my contribution will be recorded to the list at the bottom of CONTRIBUTING.md.
This will create some nasty surprises in case you do a "proper clean installation of Python 2" for mbed cli (in case you want to run Mbed OS 5.15.x). I.e.
It will try to compile EVERYTHING - as per usual and then fails when it does not find various Python compilation things.
Took a good while for me to figure it out... :-(
[x] I confirm this contribution is my own and I agree to license it with Apache 2.0. [] I confirm the moderators may change the PR before merging it in. [x] I understand the release model prohibits detailed Git history and my contribution will be recorded to the list at the bottom of CONTRIBUTING.md.