Update the Windows + Anaconda install instructions

This commit is contained in:
vdalv 2018-05-14 01:23:55 -07:00 committed by darrenl
parent 7a8e6a0c7a
commit 5d59f6cfb2

View File

@ -111,7 +111,7 @@ later <https://www.python.org/downloads/windows/>`__,
`PyQt4 <https://www.riverbankcomputing.com/software/pyqt/download>`__ `PyQt4 <https://www.riverbankcomputing.com/software/pyqt/download>`__
and `install lxml <http://lxml.de/installation.html>`__. and `install lxml <http://lxml.de/installation.html>`__.
Open cmd and go to `labelImg <#labelimg>`__ directory Open cmd and go to the `labelImg <#labelimg>`__ directory
.. code:: .. code::
@ -119,17 +119,17 @@ Open cmd and go to `labelImg <#labelimg>`__ directory
python labelImg.py python labelImg.py
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
Windows + anaconda Windows + Anaconda
^^^^^^^ ^^^^^^^
Download and install anaconda (python 3+) Download and install `Anaconda <https://www.anaconda.com/download/#download>`__ (Python 3+)
Open cmd and go to `labelImg <#labelimg>`__ directory Open the Anaconda Prompt and go to the `labelImg <#labelimg>`__ directory
.. code:: .. code::
conda install pyqt=4 conda install pyqt=5
pyrcc4 -py3 -o resources.py resources.qrc pyrcc5 -o resources.py resources.qrc
python labelImg.py python labelImg.py
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE] python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]