Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during install Windows 11 #55

Open
n-gram-hub opened this issue Jan 17, 2025 · 0 comments
Open

Error during install Windows 11 #55

n-gram-hub opened this issue Jan 17, 2025 · 0 comments

Comments

@n-gram-hub
Copy link

n-gram-hub commented Jan 17, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant