From d913fb560037ddd4fe660bb5a4d4f5c061e39e6f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 9 Aug 2017 23:02:33 +0300 Subject: [PATCH] Call pip as module --- scripts/get-platformio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get-platformio.py b/scripts/get-platformio.py index d9abf5d5..a297a803 100644 --- a/scripts/get-platformio.py +++ b/scripts/get-platformio.py @@ -112,7 +112,7 @@ def install_pip(): def install_platformio(): r = None - cmd = ["pip", "install", "-U", "platformio"] + cmd = ["python", "-m", "pip", "install", "-U", "platformio"] # cmd = [ # "pip", "install", "-U", # "https://github.com/platformio/platformio-core/archive/develop.zip"