Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install guardrails getting this error #2571

Open
Pratekh opened this issue Apr 15, 2024 · 2 comments
Open

pip install guardrails getting this error #2571

Pratekh opened this issue Apr 15, 2024 · 2 comments

Comments

@Pratekh
Copy link

Pratekh commented Apr 15, 2024

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.

@Pratekh
Copy link
Author

Pratekh commented Apr 17, 2024

  1. from profanity_check import predict

  2. from guardrails.validators import Validator, EventDetail, register_validator

@Pratekh
Copy link
Author

Pratekh commented Apr 17, 2024

What are the necessary pip & import cmd for above libs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant