janvarev / OneRingTranslator

Simple local REST web service to translate texts. Plugins. Automatic calculate BLEU/COMET metrics of translation quality.
MIT License
110 stars 12 forks source link

installations B problems #12

Open VitaliyAT opened 6 months ago

VitaliyAT commented 6 months ago
Collecting scipy<2.0.0,>=1.5.4 (from unbabel-comet->-r requirements-bleu.txt (line 4))
  Downloading scipy-1.12.0-cp312-cp312-win_amd64.whl.metadata (60 kB)
     ---------------------------------------- 60.4/60.4 kB 3.3 MB/s eta 0:00:00
Collecting sentencepiece<0.2.0,>=0.1.96 (from unbabel-comet->-r requirements-bleu.txt (line 4))
  Downloading sentencepiece-0.1.99.tar.gz (2.6 MB)
     ---------------------------------------- 2.6/2.6 MB 7.3 MB/s eta 0:00:00
  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 "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\1\AppData\Local\Temp\pip-install-ltm1vmmr\sentencepiece_337e27456c864b6b852874a971dcc88b\setup.py", line 126, in <module>
          subprocess.check_call([
        File "E:\[Soft]\[MultiMedia]\OneRingTranslator-installer-main\installer_files\env\Lib\subprocess.py", line 408, in check_call
          retcode = call(*popenargs, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "E:\[Soft]\[MultiMedia]\OneRingTranslator-installer-main\installer_files\env\Lib\subprocess.py", line 389, in call
          with Popen(*popenargs, **kwargs) as p:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "E:\[Soft]\[MultiMedia]\OneRingTranslator-installer-main\installer_files\env\Lib\subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "E:\[Soft]\[MultiMedia]\OneRingTranslator-installer-main\installer_files\env\Lib\subprocess.py", line 1538, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [WinError 2] Не удается найти указанный файл
      [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.

What should I do?