You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install fast-bleu but I am facing the error:
"(cxr-report-metric) C:\Users\PMYLS>pip install fast-bleu==0.0.90
Collecting fast-bleu==0.0.90
Using cached fast-bleu-0.0.90.tar.gz (14 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: fast-bleu
Building wheel for fast-bleu (setup.py) ... error
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fast-bleu
Running setup.py clean for fast-bleu
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --all not recognized
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for fast-bleu
Failed to build fast-bleu
ERROR: Could not build wheels for fast-bleu, which is required to install pyproject.toml-based projects
(cxr-report-metric) C:\Users\PMYLS>"
The text was updated successfully, but these errors were encountered:
I am trying to install fast-bleu but I am facing the error:
"(cxr-report-metric) C:\Users\PMYLS>pip install fast-bleu==0.0.90
Collecting fast-bleu==0.0.90
Using cached fast-bleu-0.0.90.tar.gz (14 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: fast-bleu
Building wheel for fast-bleu (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-38
creating build\lib.win-amd64-cpython-38\fast_bleu
copying fast_bleu_init_.py -> build\lib.win-amd64-cpython-38\fast_bleu
copying fast_bleu_python_wrapper_.py -> build\lib.win-amd64-cpython-38\fast_bleu
copying fast_bleu_test_.py -> build\lib.win-amd64-cpython-38\fast_bleu
running build_ext
building 'fast_bleu.__fast_bleu_module' extension
creating build\temp.win-amd64-cpython-38
creating build\temp.win-amd64-cpython-38\Release
creating build\temp.win-amd64-cpython-38\Release\fast_bleu
creating build\temp.win-amd64-cpython-38\Release\fast_bleu\cpp_sources
creating build\temp.win-amd64-cpython-38\Release\fast_bleu\cpp_sources\sources
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ifast_bleu/cpp_sources/headers/ -IC:\Users\PMYLS\anaconda3\envs\cxr-report-metric\include -IC:\Users\PMYLS\anaconda3\envs\cxr-report-metric\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /EHsc /Tpfast_bleu/cpp_sources/sources\bleu.cpp /Fobuild\temp.win-amd64-cpython-38\Release\fast_bleu/cpp_sources/sources\bleu.obj -fopenmp -std=c++11 -Werror -pedantic-errors -Wall -Wextra
cl : Command line error D8021 : invalid numeric argument '/Werror'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\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 fast-bleu
Running setup.py clean for fast-bleu
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for fast-bleu
Failed to build fast-bleu
ERROR: Could not build wheels for fast-bleu, which is required to install pyproject.toml-based projects
(cxr-report-metric) C:\Users\PMYLS>"
The text was updated successfully, but these errors were encountered: