5 years, 8 months ago.

How to compile Old Projects with Latest MBED

I'm trying to compile an old Mbed project. Initially it would not compile because it said it does not support Pip > 10.0. I upgraded mbed-cli. Now it is giving me an error saying Python 3 cannot compile Mbed OS 5.8 and earlier versions.

How do I tell mbed to compile using Python 2?

1 Answer

5 years, 8 months ago.

Hi Paul,

Have you already downloaded a 2.7 .* version of Python?

https://www.python.org/downloads/release/python-2715/

If you have, you can check your system $PATH to see if it's specifying 2.7.* version of Python. Hope this helps!

-Karen, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!