If you have done some of the following steps, just skip them. Be sure that your version is compatible with the requirements below.
Content
Python can be downloaded from their official website for macOS, Linux or Windows.
For macOS users and Linux there are some alternatives:
- macOS users can use brew (if present), running
brew install python3, - Linux users should have python3 installed, already! if not check your package manager.
- Important: Make sure to add Python to your PATH with the Windows
installer, with the other OS you should have
pythonorpython3already in your path: check it out withpython --version(orpython3 --version).
Visual Studio Code is necessary to use the Device Simulator Express and to be able to code microcontroller without the device.
It can be downloaded from their
official website for macOS, Linux or Windows.
(Some Linux users should have it available in the official OS
repository, e.g. pacman -S code for Manjaro and Arch)
This Device Simulator allows your to code microcontrollers without having the physical hardware. It can be downloaded from its official website.
If you are running python 3.9, the Device
Simulator Express installation will not work correctly at least that you change
the version of one dependency: pillow==7.0.0 to pillow==8.1.0. See the
website
Solution: Modify the pillow version following the path and modify it in the requirement file:
- Linux/macOS:
.vscode/extensions/ms-python.devicesimulatorexpress-2020.0.36321/out/requirements.txt - Windows:
.vscode\extensions\ms-python.devicesimulatorexpress-2020.0.36321\out\requirements.txt
or use a previous version of python.


