Installation

Aspose.OCR for Python via C++ is distributed as a Python Wheel. The package contains all the files necessary for installing and running the library.

Preparing for installation

  1. Before you go any further, make sure you have the supported version of Python and that it is available from the command line. You can check this by running:

    You should get the response like Python <version number>. If you do not have Python, or have an unsupported version, install the latest 3.x version from python.org.

  2. Check that the package installer for Python (pip) is available:

    If you installed Python with an installer from python.org or via Homebrew, you should already have pip. If you installed Python using your OS package manager, you may have to install pip separately.

  3. Update pip, setuptools, and wheel to the latest versions:

    pip install --upgrade pip setuptools wheel
    

Installing the package

The Aspose.OCR for Python via C++ package can be installed from PyPi. pip is the recommended installer. To install the package, run the following command:

pip install aspose-ocr-python-cpp

Updating

To update the main package, run the following command:

pip install --upgrade aspose-ocr-python-cpp