From 5abf660222250afefc1209d9d09c60ebffc903e3 Mon Sep 17 00:00:00 2001 From: tzutalin Date: Sun, 30 Sep 2018 22:24:53 -0700 Subject: [PATCH] Update README.md and create a folder for dependency requirements --- README.rst | 12 ++++++++---- .../requirements-linux-python3.txt | 0 2 files changed, 8 insertions(+), 4 deletions(-) rename requirements-python3.txt => requirements/requirements-linux-python3.txt (100%) diff --git a/README.rst b/README.rst index 13edd988..cc5f3485 100644 --- a/README.rst +++ b/README.rst @@ -57,7 +57,7 @@ Python 3 + Qt5 .. code:: sudo apt-get install pyqt5-dev-tools - sudo pip3 install -r requirements-python3.txt + sudo pip3 install -r requirements/requirements-linux-python3.txt make qt5py3 python3 labelImg.py python3 labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] @@ -72,7 +72,7 @@ Python 2 + Qt4 brew install libxml2 make qt4py2 python labelImg.py - python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] + python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] Python 3 + Qt5 (Works on macOS High Sierra) @@ -81,8 +81,12 @@ Python 3 + Qt5 (Works on macOS High Sierra) brew install qt # will install qt-5.x.x brew install libxml2 make qt5py3 - python labelImg.py - python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] + python3 labelImg.py + python3 labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] + + As a side note, if mssing pyrcc5 or lxml, try + pip3 install pyqt5 lxml + **NEW** Python 3 Virtualenv + Binary This avoids a lot of the QT / Python version issues, diff --git a/requirements-python3.txt b/requirements/requirements-linux-python3.txt similarity index 100% rename from requirements-python3.txt rename to requirements/requirements-linux-python3.txt