NanoNets / ocr-python

OCR library to extract text & tables from PDF files and images. Convert any image or PDF to CSV / TXT / JSON / Searchable PDF.
https://nanonets.com
MIT License
74 stars 12 forks source link

can´t install ocr-nanotes-wrapper #4

Open cvianavinci opened 5 months ago

cvianavinci commented 5 months ago

Hi, i need help:

Defaulting to user installation because normal site-packages is not writeable Collecting ocr-nanonets-wrapper Using cached ocr-nanonets-wrapper-1.1.tar.gz (4.2 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' Note: you may need to restart the kernel to use updated packages. error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [12 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 14, in File "C:\Users\cviana\AppData\Roaming\Python\Python310\site-packages\setuptools__init__.py", line 20, in from setuptools.dist import Distribution, Feature File "C:\Users\cviana\AppData\Roaming\Python\Python310\site-packages\setuptools\dist.py", line 34, in from setuptools.depends import Require File "C:\Users\cviana\AppData\Roaming\Python\Python310\site-packages\setuptools\depends.py", line 7, in from .py33compat import Bytecode File "C:\Users\cviana\AppData\Roaming\Python\Python310\site-packages\setuptools\py33compat.py", line 55, in unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape) AttributeError: 'HTMLParser' object has no attribute 'unescape' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.