Repository navigation
Could not find a version that satisfies the requirement torch (from easyocr) #4577
|
Hi @FeodorFitsner, please add this package easyocr [https://pypi.org/project/easyocr/#files]. I am getting this issue in the flutter iOS. please help me. Could not find a version that satisfies the requirement torch (from easyocr). I have package dependency of easyocr. CMD: dart run serious_python:main package app/src -p iOS --requirements -r,app/src/requirements.txt Requirements.txt: Output: Building package executable... Thanks. |
Replies: 1 comment
|
The blocker here is |
The blocker here is
easyocr's hard dependency on PyTorch, which can't be packaged for Flet mobile apps (see #3245 (comment)). Since easyocr runs its detection/recognition models on torch, it can't work on-device as-is.