oh-my-ocr / text_renderer

https://oh-my-ocr.github.io/text_renderer/README.html
MIT License
801 stars 161 forks source link

ERROR: No matching distribution found for opencv-python==3.4.5.20 #45

Open monkeycc opened 2 years ago

monkeycc commented 2 years ago
pip install install -r docker/requirements.txt
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting install
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4d/c8/8cbca135f9e167810756ea2bc34b028501936675fcbd7dadccf752fa4622/install-1.3.5-py3-none-any.whl (3.2 kB)
ERROR: Could not find a version that satisfies the requirement opencv-python==3.4.5.20 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.14.53, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.2.54, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64)
ERROR: No matching distribution found for opencv-python==3.4.5.20

opencv版本 不更新一下? 可以4.5不

ted8201 commented 2 years ago

according to official dockerfile, python should use 3.7 version. if you want to use opencv-python==4.5, you can just modify docker/requirements.txt. change opencv-python==3.4.5.20 to opencv-python>=3.4.5.20 like this. however other 3rdparty libraries would still complain, change the requirements.txt accordingly. My suggestion would change python version, that would save you a lot of troubles.