pip install guardrails getting this error
Pratekh opened this issue · 2 comments
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Vozon\AppData\Local\Temp\pip-install-8jfqfu6f\guardrails_e40e29184a5345c585925760a1fca596\setup.py", line 22, in
long_description = fh.read()
^^^^^^^^^
File "C:\Users\Vozon\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 5620: character maps to
[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.
-
from profanity_check import predict
-
from guardrails.validators import Validator, EventDetail, register_validator
What are the necessary pip & import cmd for above libs?