diff --git a/targets/os/mbedos/Makefile.travis b/targets/os/mbedos/Makefile.travis index b3a02d1c9d..b844a35925 100644 --- a/targets/os/mbedos/Makefile.travis +++ b/targets/os/mbedos/Makefile.travis @@ -26,8 +26,9 @@ install-mbedos: # Deploy Mbed and install Mbed Python dependencies. install-mbedos-deps: - pip install mbed-cli - pip install -r ../mbed-os/requirements.txt + pip3 install --upgrade pip + pip3 install mbed-cli + pip3 install -r ../mbed-os/requirements.txt install: install-mbedos install-mbedos-deps