In Xubuntu
the python2
virtual environment,
using the pip
installation tesserocr
if a fault occurs error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
,
Generally due to the lack libtesseract-dev
, enter the following command can be installed in the terminal:sudo apt install libtesseract-dev
If the problem is not resolved after installation, you can enter the following command to install the library:
sudo apt-get install libxml2-dev libxslt1-dev python-dev zlib1g-dev libevent-dev
If some libraries already installed, and apt
will install automatically skip