Mistake on this page?
Report an issue in GitHub or email us


Missing Python dependencies

Mbed CLI attempts to automatically install missing Python dependencies. If Mbed CLI doesn't have the necessary permissions, installation fails and Mbed CLI prints out a warning and a suggested command to run with the necessary permissions:

Missing Python modules were not auto-installed.
The Mbed OS tools in this program require the following Python modules: <missing modules>
You can install all missing modules by running "pip install -r mbed-os/requirements.txt" in "."

This command installs all the dependencies listed in the requirements.txt file within Mbed OS.

You can read more about requirements files and Python dependency management in the pip documentation.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.