-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I have no idea how to solve this:
>pip install fastwsgi
Collecting fastwsgi
Using cached fastwsgi-0.0.9.tar.gz (439 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: click>=7.0 in c:\users\ng\appdata\local\programs\python\python312\lib\site-packages (from fastwsgi) (8.1.8)
Requirement already satisfied: colorama in c:\users\ng\appdata\local\programs\python\python312\lib\site-packages (from click>=7.0->fastwsgi) (0.4.6)
Building wheels for collected packages: fastwsgi
Building wheel for fastwsgi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for fastwsgi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-312
copying fastwsgi.py -> build\lib.win-amd64-cpython-312
running build_ext
building '_fastwsgi' extension
creating build\temp.win-amd64-cpython-312\Release\fastwsgi
creating build\temp.win-amd64-cpython-312\Release\libuv\src\win
creating build\temp.win-amd64-cpython-312\Release\llhttp\src
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32=1 -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1 -D_WIN32_WINNT=0x0600 -Illhttp/include -Ilibuv/include -IC:\Users\ng\AppData\Local\Programs\Python\Python312\include -IC:\Users\ng\AppData\Local\Programs\Python\Python312\Include -Ilibuv\include -Ilibuv\src "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\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" /Tcfastwsgi\common.c /Fobuild\temp.win-amd64-cpython-312\Release\fastwsgi\common.obj -O3 -fno-strict-aliasing -fcommon -g -Wall -Wno-unused-function -Wno-unused-variable
cl : error command line D8021 : numeric argument '/Wno-unused-function' not valid
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.42.34433\\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 fastwsgi
Failed to build fastwsgi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (fastwsgi)
commongeek
Metadata
Metadata
Assignees
Labels
No labels