diff --git a/setup.sh b/setup.sh
index 5f9e63812082f8ea18c877c01be7a2c660871b84..93b7e1256578db0efcf0a2bfa331cf51eb8c2b24 100755
--- a/setup.sh
+++ b/setup.sh
@@ -81,7 +81,7 @@ source tools/gen_key_materials.sh
 generate_crypto_materials N
 
 rustup install $(head -n 1 rust-toolchain)
-pip3 install --user --upgrade tockloader
+pip3 install --user --upgrade tockloader six
 rustup target add thumbv7em-none-eabi
 
 # Install dependency to create applications.