facebook / prophet

Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.
https://facebook.github.io/prophet
MIT License
18.01k stars 4.48k forks source link

pip install guardrails getting this error #2571

Open Pratekh opened 2 months ago

Pratekh commented 2 months ago

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 commented 2 months ago
  1. from profanity_check import predict

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

Pratekh commented 2 months ago

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