Sfoglia il codice sorgente

Clarify python2 and 3 for pyqt5 in README

Kentaro Wada 8 anni fa
parent
commit
fe1f8c445a
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 6 4
      README.md

+ 6 - 4
README.md

@@ -34,7 +34,6 @@ chmod u+x labelme_on_docker
 
 ```bash
 sudo apt-get install python-qt4 pyqt4-dev-tools
-
 sudo pip install labelme
 ```
 
@@ -42,16 +41,19 @@ sudo pip install labelme
 
 ```bash
 brew install qt qt4
-
 pip install labelme
 ```
 
 **macOS Sierra**
 
 ```bash
-brew install pyqt5
-
+# on python2
+brew install pyqt5 --with-python
 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
 ```