This error can be resolved but its a long process
first uninstall easyocr, torch and torchvision using terminal
pip uninstall easyocr
pip uninstall torch`
pip uninstall torchvision
after above step run
pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
now if Git is install in your system simply install easyocr directly by original link
by command:
pip install git+git://github.com/jaidedai/easyocr.git
if git is not installed then install it from here : install git for windows : https://git-scm.com/download/win
after installation follow these steps :
Search for Advanced system settings
click on "Environment Variables"
Now under System Variables find "PATH" And click on it
minimize above screen and go to c drive and search and copy path of git.exe and cmd from git folder
in my case it was :-
C:\Program Files\Git\cmd;
C:\Program Files\Git\bin\git.exe
Paste both address in "PATH" and click ok
You can also refer to :-
How to change environment variables : Git: Installing Git in PATH with GitHub client for Windows
Finally when torchvision, torch, easyocr are latest in your system and git is installed
it should resolve your error