From 99136f5f591deef0c96d9aea2dbea1c216f38121 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 8 Dec 2016 15:51:22 +0000 Subject: toaster: Reference pip3 not pip Now that we use python3, we should refer to pip3, not pip. [YOCTO #10774] Signed-off-by: Richard Purdie --- bin/toaster | 2 +- lib/toaster/tests/browser/README | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/toaster b/bin/toaster index e0aac1a7b..de38cece0 100755 --- a/bin/toaster +++ b/bin/toaster @@ -111,7 +111,7 @@ verify_prereq() { if ! sed -n "$exp" $reqfile | python3 - ; then req=`grep ^Django $reqfile` echo "This program needs $req" - echo "Please install with pip install -r $reqfile" + echo "Please install with pip3 install -r $reqfile" return 2 fi diff --git a/lib/toaster/tests/browser/README b/lib/toaster/tests/browser/README index e841a3f12..352c4fe3e 100644 --- a/lib/toaster/tests/browser/README +++ b/lib/toaster/tests/browser/README @@ -2,9 +2,9 @@ These tests require Selenium to be installed in your Python environment. -The simplest way to install this is via pip: +The simplest way to install this is via pip3: - pip install selenium==2.53.2 + pip3 install selenium==2.53.2 Note that if you use other versions of Selenium, some of the tests (such as tests.browser.test_js_unit_tests.TestJsUnitTests) may fail, as these rely on -- cgit 1.2.3-korg