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

How to install tesserocr via python pip




tesserocr - A simple, Pillow-friendly, Python wrapper around tesseract-ocr API using Cython, it belongs to Classifiers:

- Programming Language :: C
- Programming Language :: Cython
- Programming Language :: Python :: Implementation :: PyPy
- Topic :: Multimedia
- Topic :: Multimedia :: Graphics
- Topic :: Multimedia :: Graphics :: Capture
- Topic :: Multimedia :: Graphics :: Capture :: Scanners
- Topic :: Multimedia :: Graphics :: Graphics Conversion
- Topic :: Scientific/Engineering :: Image Recognition

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



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_tesserocr_env

- Active the virtual environment

test_tesserocr_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_tesserocr_env

- Active the virtual environment

source test_tesserocr_env/bin/active


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

To install tesserocr on Windows(CMD):

py -m pip install tesserocr

To install tesserocr on Unix/macOs:

pip install tesserocr


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

Example:

pip install tesserocr==1.2.1rc2                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
tesserocr 2.5.22021-06-19T21:10:18Windows:

py -m pip install tesserocr==2.5.2

Unix/macOs:

pip install tesserocr==2.5.2

tesserocr 2.5.12020-03-17T17:45:44Windows:

py -m pip install tesserocr==2.5.1

Unix/macOs:

pip install tesserocr==2.5.1

tesserocr 2.5.02019-11-08T23:17:11Windows:

py -m pip install tesserocr==2.5.0

Unix/macOs:

pip install tesserocr==2.5.0

tesserocr 2.4.12019-08-23T16:06:35Windows:

py -m pip install tesserocr==2.4.1

Unix/macOs:

pip install tesserocr==2.4.1

tesserocr 2.4.02018-12-05T14:43:10Windows:

py -m pip install tesserocr==2.4.0

Unix/macOs:

pip install tesserocr==2.4.0

tesserocr 2.3.12018-08-13T17:35:57Windows:

py -m pip install tesserocr==2.3.1

Unix/macOs:

pip install tesserocr==2.3.1

tesserocr 2.3.02018-06-26T15:53:10Windows:

py -m pip install tesserocr==2.3.0

Unix/macOs:

pip install tesserocr==2.3.0

tesserocr 2.2.22017-07-26T19:02:14Windows:

py -m pip install tesserocr==2.2.2

Unix/macOs:

pip install tesserocr==2.2.2

tesserocr 2.2.12017-05-31T19:48:41Windows:

py -m pip install tesserocr==2.2.1

Unix/macOs:

pip install tesserocr==2.2.1

tesserocr 2.2.02017-05-28T15:36:16Windows:

py -m pip install tesserocr==2.2.0

Unix/macOs:

pip install tesserocr==2.2.0

tesserocr 2.1.32016-11-12T14:03:11Windows:

py -m pip install tesserocr==2.1.3

Unix/macOs:

pip install tesserocr==2.1.3

tesserocr 2.1.22016-06-08T12:01:49Windows:

py -m pip install tesserocr==2.1.2

Unix/macOs:

pip install tesserocr==2.1.2

tesserocr 2.1.12016-06-03T21:23:30Windows:

py -m pip install tesserocr==2.1.1

Unix/macOs:

pip install tesserocr==2.1.1

tesserocr 2.0.02016-01-10T23:07:26Windows:

py -m pip install tesserocr==2.0.0

Unix/macOs:

pip install tesserocr==2.0.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_tesserocr_downloaded_file>

On Unix/macOs:

pip install <path_to_tesserocr_downloaded_file>


List distribution:


Project link:

- Homepage