update instruction to install with pipenv

This commit is contained in:
tzutalin 2021-10-11 13:04:03 -07:00
parent cc8fd5a703
commit 7457d58249
3 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ Virtualenv can avoid a lot of the QT / Python version issues
brew install python3 brew install python3
pip3 install pipenv pip3 install pipenv
pipenv run pip install pyqt5==5.12.1 lxml pipenv run pip install pyqt5==5.15.2 lxml
pipenv run make qt5py3 pipenv run make qt5py3
pipenv run python3 labelImg.py pipenv run python3 labelImg.py
[Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications [Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications

View File

@ -81,7 +81,7 @@ VirtualenvはQtとPythonのバージョン衝突問題を解消できます。
brew install python3 brew install python3
pip3 install pipenv pip3 install pipenv
pipenv run pip install pyqt5==5.12.1 lxml pipenv run pip install pyqt5==5.15.2 lxml
pipenv run make qt5py3 pipenv run make qt5py3
pipenv run python3 labelImg.py pipenv run python3 labelImg.py
[任意で] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications [任意で] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications
@ -125,9 +125,9 @@ Anaconda Promptを起動し `labelImg <#labelimg>`__ インストールされて
PyPIから入手するPython 3以降のみ PyPIから入手するPython 3以降のみ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
現代的なLinuxディストリビューションの場合は以下のコマンドを入力するだけでインストールできます。 現代的なLinuxディストリビューションの場合は以下のコマンドを入力するだけでインストールできます。
.. code:: shell .. code:: shell
pip3 install labelImg pip3 install labelImg
labelImg labelImg
labelImg [IMAGE_PATH] [PRE-DEFINED CLASS FILE] labelImg [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
@ -194,4 +194,4 @@ Dockerの場合
開発に参加するには? 開発に参加するには?
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
このリポジトリにPull Request を送ってください。 このリポジトリにPull Request を送ってください。

View File

@ -81,7 +81,7 @@ Virtualenv 可以避免版本和相依性問題
brew install python3 brew install python3
pip3 install pipenv pip3 install pipenv
pipenv run pip install pyqt5==5.12.1 lxml pipenv run pip install pyqt5==5.15.2 lxml
pipenv run make qt5py3 pipenv run make qt5py3
pipenv run python3 labelImg.py pipenv run python3 labelImg.py
[Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications [Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications