简体   繁体   中英

Installing a package using Apt get for Google App Engine

I was deploying an optical character recognition web application. However, I realized that one of the packages needed to be installed through apt-get rather than pip. I was wondering how I would go about doing this through google app engine? Just for reference, I would like to install:

sudo apt-get install tesseract-ocr

Have you tried to install pytesseract via pip and include it in you requirements.txt for the application you're planning to deploy on app engine (Standard or Flexible )?

If the utilization of the pytesseract package is not enough, you can try to deploy an App Engine Flex Custom Runtime service and specify the installation of this package in the Dockerfile for this service

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM