ocrd-website icon indicating copy to clipboard operation
ocrd-website copied to clipboard

Python update

Open lena-hinrichsen opened this issue 2 years ago • 4 comments

Update System Requirements

lena-hinrichsen avatar Jul 07 '23 11:07 lena-hinrichsen

Python 3.8 and newer versions are not yet fully supported, since there are no pre-built Python packages for Tensorflow 2.5 and <2 and other related software. We expect to unconditionally support Python 3.8 once all processors and models are upgraded to work with a more recent Tensorflow.

@bertsky How up-to-date is that statement?

kba avatar Jul 10 '23 12:07 kba

How up-to-date is that statement?

Not up to date at all. And with https://github.com/OCR-D/ocrd_all/pull/362 it does in fact work with all modules.

But we can simply replace 3.8 in that statement with 3.9 – it is correct that we have no TF1 from then on.

bertsky avatar Jul 10 '23 12:07 bertsky

But we can simply replace 3.8 in that statement with 3.9 – it is correct that we have no TF1 from then on.

To sum it up for Python, does that mean, our target platform is 3.7, at the moment it works with 3.8 but not with 3.9?

lena-hinrichsen avatar Jul 10 '23 13:07 lena-hinrichsen

To sum it up for Python, does that mean, our target platform is 3.7, at the moment it works with 3.8 but not with 3.9?

Yes, or more precise: it works with all processors on Python 3.7 and 3.8, while later versions of Python don't support those parts of OCR-D which require TF1.

stweil avatar Feb 20 '24 15:02 stweil