Skip to content

Não consigo instalar o pacote na tag v1.3.4 #1443

@bkaraujo

Description

@bkaraujo
(.venv) PS C:\Users\bkrau\OneDrive\Trabalho\bkraujo\JUDIA\libs\FlagEmbedding> pip install .
Processing c:\users\bkrau\onedrive\trabalho\bkraujo\judia\libs\flagembedding
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: torch>=1.6.0 in c:\users\bkrau\onedrive\trabalho\bkraujo\judia\.venv\lib\site-packages (from FlagEmbedding==1.3.4) (2.7.0+cu128)
Collecting transformers>=4.44.2 (from FlagEmbedding==1.3.4)
  Using cached transformers-4.51.3-py3-none-any.whl.metadata (38 kB)
Collecting datasets>=2.19.0 (from FlagEmbedding==1.3.4)
  Using cached datasets-3.6.0-py3-none-any.whl.metadata (19 kB)
Collecting accelerate>=0.20.1 (from FlagEmbedding==1.3.4)
  Using cached accelerate-1.6.0-py3-none-any.whl.metadata (19 kB)
Collecting sentence_transformers (from FlagEmbedding==1.3.4)
  Using cached sentence_transformers-4.1.0-py3-none-any.whl.metadata (13 kB)
Collecting peft (from FlagEmbedding==1.3.4)
  Using cached peft-0.15.2-py3-none-any.whl.metadata (13 kB)
Collecting ir-datasets (from FlagEmbedding==1.3.4)
  Using cached ir_datasets-0.5.10-py3-none-any.whl.metadata (12 kB)
Collecting sentencepiece (from FlagEmbedding==1.3.4)
  Using cached sentencepiece-0.2.0.tar.gz (2.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      Traceback (most recent call last):
        File "C:\Users\bkrau\OneDrive\Trabalho\bkraujo\JUDIA\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "C:\Users\bkrau\OneDrive\Trabalho\bkraujo\JUDIA\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\bkrau\OneDrive\Trabalho\bkraujo\JUDIA\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\bkrau\AppData\Local\Temp\pip-build-env-hw9l7h98\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\bkrau\AppData\Local\Temp\pip-build-env-hw9l7h98\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "C:\Users\bkrau\AppData\Local\Temp\pip-build-env-hw9l7h98\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\bkrau\AppData\Local\Temp\pip-build-env-hw9l7h98\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 128, in <module>
        File "C:\Users\bkrau\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 414, in check_call
          retcode = call(*popenargs, **kwargs)
        File "C:\Users\bkrau\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 395, in call
          with Popen(*popenargs, **kwargs) as p:
               ~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\bkrau\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1039, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                              pass_fds, cwd, env,
                              ^^^^^^^^^^^^^^^^^^^
          ...<5 lines>...
                              gid, gids, uid, umask,
                              ^^^^^^^^^^^^^^^^^^^^^^
                              start_new_session, process_group)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\bkrau\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1551, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                             ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
                                   # no special security
                                   ^^^^^^^^^^^^^^^^^^^^^
          ...<4 lines>...
                                   cwd,
                                   ^^^^
                                   startupinfo)
                                   ^^^^^^^^^^^^
      FileNotFoundError: [WinError 2] O sistema não pode encontrar o arquivo especificado
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions