Quellcode durchsuchen

Clarify python2 and 3 for pyqt5 in README

Kentaro Wada vor 8 Jahren
Ursprung
Commit
fe1f8c445a
1 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
  1. 6 4
      README.md

+ 6 - 4
README.md

@@ -34,7 +34,6 @@ chmod u+x labelme_on_docker
 
 
 ```bash
 ```bash
 sudo apt-get install python-qt4 pyqt4-dev-tools
 sudo apt-get install python-qt4 pyqt4-dev-tools
-
 sudo pip install labelme
 sudo pip install labelme
 ```
 ```
 
 
@@ -42,16 +41,19 @@ sudo pip install labelme
 
 
 ```bash
 ```bash
 brew install qt qt4
 brew install qt qt4
-
 pip install labelme
 pip install labelme
 ```
 ```
 
 
 **macOS Sierra**
 **macOS Sierra**
 
 
 ```bash
 ```bash
-brew install pyqt5
-
+# on python2
+brew install pyqt5 --with-python
 pip install git+https://github.com/wkentaro/labelme.git@pyqt5
 pip install git+https://github.com/wkentaro/labelme.git@pyqt5
+
+# on python3
+brew install pyqt5
+pip3 install git+https://github.com/wkentaro/labelme.git@pyqt5
 ```
 ```