Selaa lähdekoodia

toaster: Reference pip3 not pip

Now that we use python3, we should refer to pip3, not pip.

[YOCTO #10774]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie 7 vuotta sitten
vanhempi
commit
99136f5f59
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      bin/toaster
  2. 2 2
      lib/toaster/tests/browser/README

+ 1 - 1
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
 

+ 2 - 2
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