Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Could not find a version that satisfies the requirement torch (from easyocr) (from versions: none) #123

Open
ShivamS1234 opened this issue Dec 13, 2024 · 2 comments

Comments

@ShivamS1234
Copy link

ShivamS1234 commented Dec 13, 2024

Hi Team,

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:
easyocr==1.7.2

Output:

Building package executable...
Built serious_python:main.
Running package command
Extra PyPi indexes: [https://pypi.flet.dev]
Created temp directory: /var/folders/bl/6xsl0d397mxgv1_td1yx0t6m0000gq/T/serious_python_tempRoiF1z
Copying Python app from /Users/shivam.singh/Downloads/serious-python-main/src/serious_python/example/run_example/app/src to a temp directory
Configured iOS/iphoneos.arm64 platform with sitecustomize.py
Installing [-r, app/src/requirements.txt] with pip command to /Users/shivam.singh/Downloads/serious-python-main/src/serious_python/example/run_example/build/site-packages/iphoneos.arm64
ERROR: Could not find a version that satisfies the requirement torch (from easyocr) (from versions: none)
ERROR: No matching distribution found for torch

Thanks.

@ShivamS1234
Copy link
Author

ShivamS1234 commented Dec 16, 2024

@FeodorFitsner please add package torch [https://pypi.org/project/torch/] and torchvision [https://pypi.org/project/torchvision/].

it's dependency of the easyocr [https://pypi.org/project/easyocr/]

Thanks.

@samuel-ouzounian
Copy link

Also in need of torch, torchvision, & torchaudio. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants