Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install mmocr via python pip




mmocr - OpenMMLab Text Detection, OCR, and NLP Toolbox, it belongs to Classifiers:

- Development Status :: 4 - Beta
- License :: OSI Approved :: Apache Software License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: 3.7
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9

When you know about this project and you want to new install mmocr to support your project or you get trouble as ModuleNotFoundError: No module named "mmocr" or ImportError: cannot import name "mmocr" in your project, let follow this tutorial to install mmocr



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_mmocr_env

- Active the virtual environment

test_mmocr_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_mmocr_env

- Active the virtual environment

source test_mmocr_env/bin/active


Step 2: OK, now, let flow below content to start the installation mmocr

To install mmocr on Windows(CMD):

py -m pip install mmocr

To install mmocr on Unix/macOs:

pip install mmocr


Step 3: If you want to install a specific mmocr version, add ==<mmocr version> to the end command line

Example:

pip install mmocr==0.2.0


Please see the version list below table:

VersionReleased dateCommand
mmocr 0.6.12022-08-04T06:11:46Windows:

py -m pip install mmocr==0.6.1

Unix/macOs:

pip install mmocr==0.6.1

mmocr 0.6.02022-05-05T14:21:18Windows:

py -m pip install mmocr==0.6.0

Unix/macOs:

pip install mmocr==0.6.0

mmocr 0.5.02022-03-31T16:17:15Windows:

py -m pip install mmocr==0.5.0

Unix/macOs:

pip install mmocr==0.5.0

mmocr 0.4.12022-01-27T07:05:17Windows:

py -m pip install mmocr==0.4.1

Unix/macOs:

pip install mmocr==0.4.1

mmocr 0.4.02021-12-15T03:45:43Windows:

py -m pip install mmocr==0.4.0

Unix/macOs:

pip install mmocr==0.4.0

mmocr 0.3.02021-08-25T09:45:50Windows:

py -m pip install mmocr==0.3.0

Unix/macOs:

pip install mmocr==0.3.0

mmocr 0.2.12021-07-20T17:21:13Windows:

py -m pip install mmocr==0.2.1

Unix/macOs:

pip install mmocr==0.2.1

mmocr 0.2.02021-05-18T15:25:34Windows:

py -m pip install mmocr==0.2.0

Unix/macOs:

pip install mmocr==0.2.0


Step 4: Otherwise, you can install mmocr from local archives:

Download the distribution file from mmocr-0.6.1.tar.gz or the specific mmocr version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_mmocr_downloaded_file>

On Unix/macOs:

pip install <path_to_mmocr_downloaded_file>


List distribution:

- mmocr-0.2.0-py2.py3-none-any.whl
- mmocr-0.2.0.tar.gz
- mmocr-0.2.1-py2.py3-none-any.whl
- mmocr-0.2.1.tar.gz
- mmocr-0.3.0-py2.py3-none-any.whl
- mmocr-0.3.0.tar.gz
- mmocr-0.4.0-py2.py3-none-any.whl
- mmocr-0.4.0.tar.gz
- mmocr-0.4.1-py2.py3-none-any.whl
- mmocr-0.4.1.tar.gz
- mmocr-0.5.0-py2.py3-none-any.whl
- mmocr-0.5.0.tar.gz
- mmocr-0.6.0-py2.py3-none-any.whl
- mmocr-0.6.0.tar.gz
- mmocr-0.6.1-py2.py3-none-any.whl
- mmocr-0.6.1.tar.gz
- mmocr-0.6.2-py2.py3-none-any.whl
- mmocr-0.6.2.tar.gz
- mmocr-0.6.3-py2.py3-none-any.whl
- mmocr-0.6.3.tar.gz
- mmocr-1.0.0rc0-py2.py3-none-any.whl
- mmocr-1.0.0rc0.tar.gz
- mmocr-1.0.0rc1-py2.py3-none-any.whl
- mmocr-1.0.0rc1.tar.gz
- mmocr-1.0.0rc2-py2.py3-none-any.whl
- mmocr-1.0.0rc2.tar.gz
- mmocr-1.0.0rc3-py2.py3-none-any.whl
- mmocr-1.0.0rc3.tar.gz
- mmocr-1.0.0rc4-py2.py3-none-any.whl
- mmocr-1.0.0rc4.tar.gz
- mmocr-1.0.0rc5-py2.py3-none-any.whl
- mmocr-1.0.0rc5.tar.gz


Project link:

- Homepage