ocr-python icon indicating copy to clipboard operation
ocr-python copied to clipboard

can't install ocr-nanonets-wrapper

Open touitou opened this issue 1 year ago • 0 comments

Hi I can't install ocr-nanonets-wrapper Can you please help? Thank you

!pip install ocr-nanonets-wrapper Defaulting to user installation because normal site-packages is not writeable Collecting ocr-nanonets-wrapper Downloading ocr-nanonets-wrapper-1.1.tar.gz (4.2 kB) Preparing metadata (setup.py) ... error 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 "/home/touitou/.local/lib/python3.10/site-packages/setuptools/init.py", line 20, in from setuptools.dist import Distribution, Feature File "/home/touitou/.local/lib/python3.10/site-packages/setuptools/dist.py", line 34, in from setuptools.depends import Require File "/home/touitou/.local/lib/python3.10/site-packages/setuptools/depends.py", line 7, in from .py33compat import Bytecode File "/home/touitou/.local/lib/python3.10/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.

touitou avatar Jun 23 '23 05:06 touitou