update easier installation with anaconda and change code to be compliant with python 3.5

This commit is contained in:
Jérôme Wax 2018-03-15 11:30:31 +01:00 committed by darrenl
parent 6c774267ec
commit 8d1bd68ab6

View File

@ -101,6 +101,20 @@ 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
^^^^^^^
Download and install anaconda (python 3+)
Open cmd and go to `labelImg <#labelimg>`__ directory
.. code::
conda install pyqt=4
pyrcc4 -py3 -o resources.py resources.qrc
python labelImg.py
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
Get from PyPI Get from PyPI
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
.. code:: .. code::