Issues with multiple Python versions installed
The MCUXpresso extension for VS Code leverages Python. We sometimes see issues with tools when multiple versions of Python are installed, especially in Windows. The MCUXpresso Installer will use a Python virtual environment. But when installing Python modules, if other Python versions are already installed, there may be issues.
If the MCUXpresso Installer or the MCUXpresso extension in VS Code show errors due to missing Python modules, here are some tips to manage this. One option is to remove the other Python versions if they are not needed. From a command prompt, you can find the different Python versions found in the PATH environment variable with this command:
where python
You can also manually install Python modules into specific Python versions, see Python Virtual Environment used by VS Code.
Another potential option is to edit the PATH environment variable, and remove the paths to other Python versions.