Troubleshooting Mbed Python Errors
If you encounter problems importing or building mbed projects, please try resetting your Python environment as shown on this page.
- Clear the Tools->Options->VisualGDB->General->Tools->Python
Directory setting:
- Delete the %LOCALAPPDATA%\VisualGDB\Python* directories.
- Restart Visual Studio and open the Mbed Project Wizard. When
prompted to install Python, try installing the latest Python 3:
This will install a version of Python that was tested with mbed scripts on our side, and it should work exactly as described in our mbed tutorials.