I want to upgrade the pytesseract package and I have used this line pip install pytesseract==0.3.7
and I got this as successful
Collecting pytesseract==0.3.7
Using cached pytesseract-0.3.7.tar.gz (13 kB)
Requirement already satisfied: Pillow in c:\users\future\appdata\local\programs\python\python39\lib\site-packages (from pytesseract==0.3.7) (8.0.1)
Using legacy 'setup.py install' for pytesseract, since package 'wheel' is not installed.
Installing collected packages: pytesseract
Attempting uninstall: pytesseract
Found existing installation: pytesseract 0.3.6
Uninstalling pytesseract-0.3.6:
Successfully uninstalled pytesseract-0.3.6
Running setup.py install for pytesseract ... done
Successfully installed pytesseract-0.3.7
When trying the following lines in the cmd
python
then typed import pytesseract
, I got the following error messages
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytesseract
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Future\AppData\Local\Programs\Python\Python39\lib\site-packages\pytesseract\__init__.py", line 2, in <module>
from .pytesseract import ALTONotSupported
File "C:\Users\Future\AppData\Local\Programs\Python\Python39\lib\site-packages\pytesseract\pytesseract.py", line 36, in <module>
from numpy import ndarray
File "C:\Users\Future\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\__init__.py", line 305, in <module>
_win_os_check()
File "C:\Users\Future\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\Future\\AppData\\Local\\Programs\\Python\\Python39\\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:
Any ideas of how to fix such a problem?