You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: