Set up the prerequisites for a simple IDT test suite
To complete this tutorial, you need the following:
-
Host computer requirements
-
Latest version of AWS IoT Device Tester
-
Python
3.7 or later To check the version of Python installed on your computer, run the following command:
python3 --version
On Windows, if using this command returns an error, then use
python --version
instead. If the returned version number is 3.7 or greater, then run the following command in a Powershell terminal to setpython3
as an alias for yourpython
command.Set-Alias -Name "python3" -Value "python"
If no version information is returned or if the version number is less than 3.7, follow the instructions in Downloading Python
to install Python 3.7+. For more information, see the Python documentation . -
To verify that
urllib3
is installed correctly, run the following command:python3 -c 'import urllib3'
If
urllib3
is not installed, run the following command to install it:python3 -m pip install urllib3
-
-
Device requirements
-
A device with a Linux operating system and a network connection to the same network as your host computer.
We recommend that you use a Raspberry Pi
with Raspberry Pi OS. Make sure you set up SSH on your Raspberry Pi to remotely connect to it.
-