Model files won't download
See original GitHub issueLooks like there’s an issue with the server for the model files. Returns a 403 forbidden when attempting to download.
reader = easyocr.Reader(['en'], gpu = False)
File "/Users/travis/.local/share/virtualenvs/ocr-RN8nrvRp/lib/python3.8/site-packages/easyocr/easyocr.py", line 185, in __init__
urlretrieve(model_url['detector'][0] , DETECTOR_PATH)
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:16 (2 by maintainers)
Top Results From Across the Web
Can't Download Anything on a Windows 10 Computer [Solved]
Fix 1: Check If Many Files Are Being Downloaded; Fix 2: Change Internet Option Settings; Fix 3: Clear Your Browser's Cache; Fix 4:...
Read more >13 Fixes to Try If You Can't Download on Windows 11
1. Check if external programs are downloading something · 2. Clear browser data · 3. Reinstall your browser · 4. Make sure you...
Read more >Fix file download errors - Google Chrome Help
Fix most file download errors. If you try to download a file and it doesn't work, first try to fix the error with...
Read more >How To Fix Thingiverse's Download All Files Feature - YouTube
Hello, 3D Printing friends! Today we're going to see how to fix Thingiverse's " Download All Files " feature.Did this video help you...
Read more >Sharpen 4.0 or 4.1 Model Download Is Slow Or Not Working
Potential conflicts this download would resolve would be unusual slowness downloading the models individually, your model downloads being ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
trying to fix. in the mean time, you can download manually from links on README
Thanks @rkcosmos!
One small thing: After redownloading the package as per your comment, I managed to download the models automatically, but I had to first install the requests library. Maybe the requests library should be automatically installed together with easyocr?
Traceback from my program:
Traceback (most recent call last): File “.\translate_manhua.py”, line 29, in <module> import easyocr File “D:\PythonEnvs\AutoManhuaTranslator\lib\site-packages\easyocr_init_.py”, line 1, in <module> from .easyocr import Reader File “D:\PythonEnvs\AutoManhuaTranslator\lib\site-packages\easyocr\easyocr.py”, line 5, in <module> from .recognition import get_recognizer, get_text File “D:\PythonEnvs\AutoManhuaTranslator\lib\site-packages\easyocr\recognition.py”, line 11, in <module> from .utils import CTCLabelConverter File “D:\PythonEnvs\AutoManhuaTranslator\lib\site-packages\easyocr\utils.py”, line 11, in <module> import requests ModuleNotFoundError: No module named ‘requests’