sent2vec icon indicating copy to clipboard operation
sent2vec copied to clipboard

Not able to install sent2vec

Open ajaysaravade1 opened this issue 2 years ago • 2 comments

Giving error after using pip install .

 error: subprocess-exited-with-error
  × Building wheel for sent2vec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [2 lines of output]
      cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for sent2vec
Failed to build sent2vec
ERROR: Could not build wheels for sent2vec, which is required to install pyproject.toml-based projects

please mention all requirements.

ajaysaravade1 avatar Feb 10 '23 18:02 ajaysaravade1

Giving error after using pip install .

 error: subprocess-exited-with-error
  × Building wheel for sent2vec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [2 lines of output]
      cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for sent2vec
Failed to build sent2vec
ERROR: Could not build wheels for sent2vec, which is required to install pyproject.toml-based projects

please mention all requirements.

I have also encountered the same problem. Have you solved it? Please give me some advice, Thanks.

foresta-yang avatar May 19 '23 08:05 foresta-yang

Had similar problem with installation, I found the clearest step-by-step outlined here: https://github.com/epfml/sent2vec/issues/118 -- maybe consider amending in readme?

drew-walkerr avatar Jun 07 '23 14:06 drew-walkerr