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

Not working on Windows #1254

Open
JamesMcIntyre100 opened this issue May 13, 2024 · 0 comments
Open

Not working on Windows #1254

JamesMcIntyre100 opened this issue May 13, 2024 · 0 comments

Comments

@JamesMcIntyre100
Copy link

I followed EasyOCR's Pypi Windows install instructions by first going to the Pytorch link provided and installing torch and torchvision. I then installed EasyOCR. After doing so I tried to "import easyocr" in Python but got an error message telling me there was an error loading fbgemm.dll or one of its dependencies. I then found this issue page and so installed VC_redist.X64 from here as instructed by farhan_karim within the previously linked Issue. This seems to have resolved that particular error but then when I run "import easyocr", I now get the same error but this time for shm.dll.

I have a problem in that I can't keep chasing these small, external to Python, dependencies as it would mean asking my client to install a load of different programs as well as my own, which is unwealdly.

Both of these errors are with EasyOCR's dependency on PyTorch (when running "import torch") so I should possibly be putting this Issue on PyTorch's Git remote. The reason I've not done this so far is that I'm only using PyTorch as a dependency of EasyOCR and to be honest I would feel a bit intimidated to post an issue on such an advanced Python Package. I'm hoping that raising this issue that installing EasyOCR using the Pypi instructions for Windows isn't currently working (at least on their own), might be helpful in some way.

For the time being, I'm going to try switching tack and I'm going to try pytesseract which I'm hoping will only require one external dependency (Tesseract). I might come back to this if that tack doesn't go well.

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

1 participant