How do I update Tesseract on PA? - tesseract

I'm developing an app which uses Pytesseract and I'm hosting it on PA. Tesseract is preinstalled
but apparently the version is old (3.04) when I run my code I get error:
"TSV output not supported. Tesseract >= 3.05 required"
How can I upgrade it since I can't use sudo apt ?

The latest version of Tesseract is not available on PythonAnywhere yet. It should be available with the next system image later this spring.

Related

How do I upgrade my InfluxDB shell version?

I have been searching the internet for a way to upgrade my InfluxDB shell version from version 1.6.4 to 1.8.6 on my Raspberry Pi Model B Rev 2 (Yes it is ancient). My InfluxDB installation version is 1.8.6 and I read that if the InfluxDB and InfluxDB Shell versions are not the same then I will get parsing errors when using the CLI and I am.
Here is my version numbers on screenshot 1: enter image description here
Here is my attempt to update the InfluxDB shell version using the command sudo apt install influxdb-client: enter image description here
As you can see in the image above that the InfluxDB Shell is already the latest version (1.6.4) but I saw that there is in fact a shell version 1.8.3 as seen in screenshot below(from a YouTube video).
Here is the how I want it: correct shell version
If there is anyone that could help me I would appreciate it! This is also my first stack overflow question and I hope it is good enough : )
The Debian/Ubuntu archives still have a very old version of InfluxDB in them. But you can get the latest from https://portal.influxdata.com/downloads/
If you need 1.8 specifically (not 2.0), scroll down to the bottom of that page to the Are you interested in InfluxDB 1.x Open Source? section. There you can find ARM builds as tarballs you can download and extract. Both 32bit (armhf) and 64bit (arm64) builds are available.

FreeBSD: upgrade MongoDB server from 2.6 to 3.0

Running MongoDB v2.6 Server on FreeBSD operating system, I am looking for a way to upgrade the MongoDB version to at least v3.0. According to MongoDB website, I need to replace the binaries but I am not able to find appropriate download binaries for FreeBSD there MongoDB download website. Alternatively I had hoped, I could upgrade the binaries using pkg package manager but I don't know which command to use to upgrade to a specific version. I am looking for something like:
pseudocode:
sudo pkg upgrade mongod v3.03
I've been crawling the web for days now to find a download link for Freebsd binaries for Version 3.0x or right upgrade command using pkg package manager.
Solution is: using the command "pkg install mongodb36-3.6.6_2" as suggested in the link by Valijon will first deinstall a previous version and then install v3.6 of MongoDB Server. Just what I was looking for.

Upgrading sqlite3 on Centos 7

Does anyone know how to upgrade sqlite3 on Centos7. The repos only have up to version 3.7.
I downloaded the source code and compiled. Replaced binaries. If I type sqlite/sqlite3 --version then it's 3.31.
If I run rails then it's stuck at 3.7.
DNF is stuck on 3.7 too.
I read that Centos7 stays at this version. There's no easy upgrade path to Centos8 without reinstall so trying to avoid that.
Uninstall the package from Centos. Then, do a normal source install of sqlite afterwards.

Installing tesseract 3.04 on lubuntu 18.04

I want to install tesseract-ocr 3.04 on one of my Ubuntu/Lubuntu 18.04 test setups (which is running fine on our lubuntu16.04 test setups). If I simply install tesseract-ocr via 'sudo apt install tesseract-ocr' etc. it will install tesseract 4.0.0 beta.
With this I am seeing a lot of weird behavior and would like to run tesseract-ocr 3.04 with the same traineddata etc as it is running fine on our older test setups.
How can I force to install an older version of tesseract-ocr.
Thanks, Martin
Download Tesseract 3.04 from https://launchpad.net/ubuntu/+source/tesseract/3.04.01-6.
Then to install it in $HOME/local:
./autogen.sh
./configure --prefix=$HOME/local/
make
make install
I realise this post is quite old, so if you have found a better way please share your method.

Reverting to old Google Cloud SDK shell version

I am trying to deploy a Java project into Google App Engine from Eclipse and am blocked by JSPs.
Everything JSP makes my app not capable of deploying due to "'utf8' codec can't decode byte" error.
Not trying to insert any strange (not UTF-8) character, everything Eclipse is set to UTF-8.
Tried to send archives which were OK with the Google App Engine Tools for Eclipse (soon to be deprecated), won't deploy.
I've seen threads regarding reverting the Google Cloud Tools for Eclipse plugin to previous version (1.58 seemed to avoid a few problems) being a possible solution to these recent errors but I have a problem installing, the batch just tells me "Install will exit" ?!
Tried to uninstall previous (latest) versions before, made sure I was launching the bundled-python batch, still not capable of installing an old version of the Google Cloud SDK shell.
Would be glad if anybody had any suggestion at what makes my install fail.
Thanks in advance.
There are a few ways you can get older version of Google Cloud SDK.
Download versioned archive
(If you are on windows) Grab google-cloud-sdk-XXX.0.0-windows-x86_64-bundled-python.zip file.
Unzip it to some\dir
Add some\dir\google-cloud-sdk\bin directory to your system path
Restart your command prompt (or other apps which depend on gcloud) and run for example gcloud info, it should be fully functional installation, no need to run install.bat.
Alternatively, use existing SDK installation and gcloud component manager to go back to previous versions. For example
gcloud components update --version 158.0.0
target by version number using apt-get :
sudo apt-get install google-cloud-sdk=294.0.0-0