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.55k stars 4.54k forks source link

Cannot install package sentence_trasnformers #2551

Closed nancysingh25 closed 9 months ago

nancysingh25 commented 9 months ago

Hii, I am using python 3.12 and trying to install package sentence_trasnformers but it's giving me this error

`pip install sentence-transformers Collecting sentencepiece (from sentence_transformers) Using cached sentencepiece-0.1.99.tar.gz (2.6 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [17 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\sinna\AppData\Local\Temp\pip-install-kt0vscqs\sentencepiece_6dbe45e63c5a4c09bd06d99a79f8690c\setup.py", line 126, in subprocess.check_call([ File "C:\Program Files\Python312\Lib\subprocess.py", line 408, in check_call retcode = call(*popenargs, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\subprocess.py", line 389, in call with Popen(popenargs, **kwargs) as p: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\Python312\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden [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.`

Anyone has any idea why the error. I already install setuptools using pip install --upgrade setuptools but after installing setuptools the error is same. Any input on this will be really great!