Nov-22-2020, 12:02 PM
Install Python-Levenshtein wheel from gohlke.
Eg if use python 3.8
Eg if use python 3.8
(my_env) G:\code\my_env λ pip install python_Levenshtein-0.12.0-cp38-cp38-win_amd64.whl Processing g:\code\my_env\python_levenshtein-0.12.0-cp38-cp38-win_amd64.whl Installing collected packages: python-Levenshtein Successfully installed python-Levenshtein-0.12.0Now install again.
(my_env) G:\code\my_env λ pip install videocr Collecting videocr ..... Successfully installed Pillow-8.0.1 numpy-1.19.4 opencv-python-4.4.0.46 pytesseract-0.3.6 videocr-0.1.6Test that it works.
(my_env) G:\code\my_env λ python Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from videocr import get_subtitles ** On entry to DGEBAL parameter number 3 had an illegal value Traceback (most recent call last): ..... RuntimeError: The current Numpy installation ('G:\\code\\my_env\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86Fix use a earlier Numpy version that has OpenBLAS 0.3.12.
(my_env) G:\code\my_env λ pip install numpy==1.19.3 Collecting numpy==1.19.3 Downloading ..... Successfully installed numpy-1.19.3Testa again,ok now.
(my_env) G:\code\my_env λ python Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from videocr import get_subtitles >>> >>> exit()