Belval / TextRecognitionDataGenerator

A synthetic data generator for text recognition
MIT License
3.24k stars 966 forks source link

fail installation of tensorflow in requirements-hw.txt #336

Open ThaiLe1220 opened 7 months ago

ThaiLe1220 commented 7 months ago

requirements-hw.txt:

Pillow>=10.0.0
numpy>=1.16.4,<1.17
requests>=2.20.0
opencv-python>=4.2.0.32
tqdm>=4.23.0
beautifulsoup4>=4.6.0
diffimg==0.2.3
tensorflow>=1.13.1,<1.14
matplotlib>=3.0.2
seaborn>=0.9.0

I've been encountering conflicts when trying to install these packages, even across different Python versions (2.7, 3.6-3.10) and environments (venv, Ubuntu, Colab). The most common error is:

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement tensorflow<1.14,>=1.13.1 (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.0.post1)
ERROR: No matching distribution found for tensorflow<1.14,>=1.13.1

Could you please help me determine the source of the conflicts and suggest how to resolve them?