================= Installation ================= .. contents:: :depth: 1 :local: :backlinks: none .. highlight:: console Overview ---------------- Picslate use: * `numpy `_ * `enchant `_ * `TesseractOCR `_ => 5.1 * `python `_ =>3.10 Setup -------- * `enchant`_ - On Ubuntu: .. code-block:: console sudo apt-get install enchant-2 sudo apt-get install myspell-fr sudo apt-get install hunspell-en-us - On macOS: .. code-block:: console brew install enchant * `TesseractOCR`_ => 5.1 - On Ubuntu: .. code-block:: console sudo apt install tesseract-ocr sudo apt install libtesseract-dev sudo apt install libleptonica-dev sudo apt install pkg-config sudo apt-get install tesseract-ocr-eng - On macOS: .. code-block:: console sudo port install autoconf \ automake \ libtool \ pkgconfig \ leptonica sudo port install tesseract sudo port install tesseract-lang * `pip` - On Ubuntu: .. code-block:: console sudo apt install python3-pip - On macOS: .. code-block:: console curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py Then install the package: .. code-block:: console pip install picslate