sent2vec
sent2vec copied to clipboard
Not able to install sent2vec
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.
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 projectsplease mention all requirements.
I have also encountered the same problem. Have you solved it? Please give me some advice, Thanks.
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?