TextRecognitionDataGenerator icon indicating copy to clipboard operation
TextRecognitionDataGenerator copied to clipboard

Requirements update and conda package

Open thenamangoyal opened this issue 5 years ago • 1 comments

Please update the requirements for the package on PyPI.

Especially use pillow>=7.0.0 not pillow==7.0.0, diffimg>=0.2.3 not diffimg==0.2.3 as imgaug in albumentations>=0.1.12 as version >=0.4.0 is available

This causes pip to uninstall higher version of Pillow and albumentations.

Requirement already satisfied: pillow==7.0.0 in /usr/local/lib/python3.6/dist-packages (from trdg) (7.0.0)

This even causes issue in colab ERROR: trdg 1.6.0 has requirement pillow==7.0.0, but you'll have pillow 7.1.2 which is incompatible. ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.

Please update the requirements or make a conda package to ease installation.

Additionally, the requirements.txt on main branch is empty, please add requirements to it, so that one can install requirements separately and trdg as pip install --no-deps trdg

Edit: The requirements are there in setup.py

thenamangoyal avatar May 18 '20 12:05 thenamangoyal

I will do it today, thank you for bringing this to my attention.

Belval avatar May 19 '20 15:05 Belval