Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Graham Dumpleton
You can use any recent Python 3.X version. Right now it is picking some Python 
3.7 installation you have and not Python 3.11 as you expected. All I can tell 
you is that you have probably installed multiple versions of Python at 
different times but in some cases have installed it just for your user. If you 
are going to run Apache as a system service, you should install Python for all 
users, not just your own user, or it may not find the Python installation 
properly when Apache is run. So all I can suggest if you want to ensure you are 
using Python 3.11 is uninstall the Python 3.7 installed against just your user, 
and then (re)install Python 3.11 for all users.

As to MS C++ version, it appears that for Python 3.5 - 3.12+, you need to use 
MS C++ version 14.x. See:

https://wiki.python.org/moin/WindowsCompilers

I would suggest attempting to reinstall MS C++ to resolve the missing header 
file problem I already pointed out, along with all other required MS build 
tools.

For same issue as others have had, see:

https://stackoverflow.com/questions/58135999/cant-build-mod-wsgi-on-windows-10-cannot-open-include-file-ws2tcpip-h

Take note how they say you must have all of:

Visual Studio Build Tools Main Components
SDK for Windows 10 (10.0.18362.0) since I'm using Windows 10
MSVC 140 - C++ VS 2015 (v.14.00)
Graham

> On 20 Jan 2024, at 5:43 pm, Ananth Mandli  wrote:
> 
> please help me which version i have to use
> 
> 
> On Sat, 20 Jan 2024 at 11:09, Ananth Mandli  > wrote:
>> I don't know What's wrong i did
>> 
>> 
>> Collecting mod_wsgi==4.5.24
>>   Using cached mod_wsgi-4.5.24.tar.gz (2.6 MB)
>>   Preparing metadata (setup.py) ... done
>> Building wheels for collected packages: mod_wsgi
>>   Building wheel for mod_wsgi (setup.py) ... error
>>   error: subprocess-exited-with-error
>> 
>>   × python setup.py bdist_wheel did not run successfully.
>>   │ exit code: 1
>>   ╰─> [375 lines of output]
>> 
>> On Sat, 20 Jan 2024 at 11:07, Ananth Mandli > > wrote:
>>> I am using 
>>> ==> Python 3.11.1
>>> ==>Apache24
>>> ==>Microsoft visual c++ 2015-2022 redistributable
>>> 
>>> On Sat, 20 Jan 2024 at 01:29, Graham Dumpleton >> > wrote:
 This error generally indicates you have the wrong version or a badly 
 installed version of the Microsoft Visual Studio build tools.
 
 Try reinstalling Visual Studio Build Tools, making sure it is the correct 
 version for the version of Python you are using. Since you are using an 
 older version of Python, it may be an older version of the Visual Studio 
 Build Tools that is required. Better still, upgrade you Python version to 
 the latest.
 
> On 19 Jan 2024, at 11:20 pm, Ananth Mandli  > wrote:
> 
>  Building wheel for mod_wsgi (setup.py) ... error
>   error: subprocess-exited-with-error
> 
>   × python setup.py bdist_wheel did not run successfully.
>   │ exit code: 1
>   ╰─> [375 lines of output]
> 
> 
> 
>   creating build\temp.win32-cpython-37\Release\src\server
>   "C:\Program Files (x86)\Microsoft Visual 
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" 
> /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include 
> -Ic:\users\91915\appdata\local\programs\python\python37-32\include 
> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include 
> "-IC:\Program Files (x86)\Microsoft Visual 
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program 
> Files (x86)\Microsoft Visual 
> Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c 
> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
> 
>   mod_wsgi.c
>   
> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
>  fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file 
> or directory
> 
> 
>   error: command 'C:\\Program Files (x86)\\Microsoft Visual 
> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
>  failed with exit code 2
>   [end of output]
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to modwsgi+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
>  
> .
 
 
 -- 
 You received this 

Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Ananth Mandli
i don't know what's wrong i did



C:\Apache24\bin>pip install mod_wsgi==4.5.24
Collecting mod_wsgi==4.5.24
  Using cached mod_wsgi-4.5.24.tar.gz (2.6 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: mod_wsgi
  Building wheel for mod_wsgi (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [375 lines of output]

C:\Users\91915\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py:265:
UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
  running bdist_wheel



 creating build\temp.win-amd64-cpython-311\Release\src\server
  "C:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c
/nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Apache24/include
-IC:\Users\91915\AppData\Local\Programs\Python\Python311\include
-IC:\Users\91915\AppData\Local\Programs\Python\Python311\Include
"-IC:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program
Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c
/Fobuild\temp.win-amd64-cpython-311\Release\src/server\mod_wsgi.obj
  mod_wsgi.c

C:\Users\91915\AppData\Local\Temp\pip-install-ltn8ohjy\mod-wsgi_e683713ab94e4f4f925dab6ae7fd0630\src\server\wsgi_apache.h(39):
fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or
directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual
Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\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 mod_wsgi
  Running setup.py clean for mod_wsgi
Failed to build mod_wsgi
ERROR: Could not build wheels for mod_wsgi, which is required to install
pyproject.toml-based projects


i am using
==> Python 3.11.1
==>Apache24
==>Microsoft visual c++ 2015-2022 redistributable

please help which version i have to use

On Sat, 20 Jan 2024 at 01:29, Graham Dumpleton 
wrote:

> This error generally indicates you have the wrong version or a badly
> installed version of the Microsoft Visual Studio build tools.
>
> Try reinstalling Visual Studio Build Tools, making sure it is the correct
> version for the version of Python you are using. Since you are using an
> older version of Python, it may be an older version of the Visual Studio
> Build Tools that is required. Better still, upgrade you Python version to
> the latest.
>
> On 19 Jan 2024, at 11:20 pm, Ananth Mandli  wrote:
>
>  Building wheel for mod_wsgi (setup.py) ... error
>   error: subprocess-exited-with-error
>
>   × python setup.py bdist_wheel did not run successfully.
>   │ exit code: 1
>   ╰─> [375 lines of output]
>
>
>
>   creating build\temp.win32-cpython-37\Release\src\server
>   "C:\Program Files (x86)\Microsoft Visual
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" /c
> /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include
> -Ic:\users\91915\appdata\local\programs\python\python37-32\include
> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include
> "-IC:\Program Files (x86)\Microsoft Visual
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program
> Files (x86)\Microsoft Visual
> Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c
> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
>
>   mod_wsgi.c
>
> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
> fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or
> directory
>
>
>   error: command 'C:\\Program Files (x86)\\Microsoft Visual
> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
> failed with exit code 2
>   [end of output]
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to modwsgi+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
> 
> .
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to modwsgi+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/2514DFA1-2CAE-435E-8325-939097C0BB47%40gmail.com
> 

Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Ananth Mandli
please help me which version i have to use


On Sat, 20 Jan 2024 at 11:09, Ananth Mandli  wrote:

> I don't know What's wrong i did
>
>
> Collecting mod_wsgi==4.5.24
>   Using cached mod_wsgi-4.5.24.tar.gz (2.6 MB)
>   Preparing metadata (setup.py) ... done
> Building wheels for collected packages: mod_wsgi
>   Building wheel for mod_wsgi (setup.py) ... error
>   error: subprocess-exited-with-error
>
>   × python setup.py bdist_wheel did not run successfully.
>   │ exit code: 1
>   ╰─> [375 lines of output]
>
> On Sat, 20 Jan 2024 at 11:07, Ananth Mandli 
> wrote:
>
>> I am using
>> ==> Python 3.11.1
>> ==>Apache24
>> ==>Microsoft visual c++ 2015-2022 redistributable
>>
>> On Sat, 20 Jan 2024 at 01:29, Graham Dumpleton <
>> graham.dumple...@gmail.com> wrote:
>>
>>> This error generally indicates you have the wrong version or a badly
>>> installed version of the Microsoft Visual Studio build tools.
>>>
>>> Try reinstalling Visual Studio Build Tools, making sure it is the
>>> correct version for the version of Python you are using. Since you are
>>> using an older version of Python, it may be an older version of the Visual
>>> Studio Build Tools that is required. Better still, upgrade you Python
>>> version to the latest.
>>>
>>> On 19 Jan 2024, at 11:20 pm, Ananth Mandli 
>>> wrote:
>>>
>>>  Building wheel for mod_wsgi (setup.py) ... error
>>>   error: subprocess-exited-with-error
>>>
>>>   × python setup.py bdist_wheel did not run successfully.
>>>   │ exit code: 1
>>>   ╰─> [375 lines of output]
>>>
>>>
>>>
>>>   creating build\temp.win32-cpython-37\Release\src\server
>>>   "C:\Program Files (x86)\Microsoft Visual
>>> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" /c
>>> /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include
>>> -Ic:\users\91915\appdata\local\programs\python\python37-32\include
>>> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include
>>> "-IC:\Program Files (x86)\Microsoft Visual
>>> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program
>>> Files (x86)\Microsoft Visual
>>> Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c
>>> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
>>>
>>>   mod_wsgi.c
>>>
>>> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
>>> fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or
>>> directory
>>>
>>>
>>>   error: command 'C:\\Program Files (x86)\\Microsoft Visual
>>> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
>>> failed with exit code 2
>>>   [end of output]
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "modwsgi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to modwsgi+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
>>> 
>>> .
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "modwsgi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to modwsgi+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/modwsgi/2514DFA1-2CAE-435E-8325-939097C0BB47%40gmail.com
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/CAH3LPq%3DfudvLijbuqrTaMKj%3DfKBP1W%3Doi-Z_qsTPq6GzuZKf9A%40mail.gmail.com.


Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Graham Dumpleton
There is something broken about your Python installation if you think you are 
using Python 3.11.

The compiler output shows:

-Ic:\users\91915\appdata\local\programs\python\python37-32\include 
-Ic:\users\91915\appdata\local\programs\python\python37-32\Include

As you can see it is trying to use Python 3.7.

Uninstall the Python 3.7 version and reinstall Python 3.11, ensuring that it is 
installed for all users.

Graham

> On 20 Jan 2024, at 4:37 pm, Ananth Mandli  wrote:
> 
> I am using 
> ==> Python 3.11.1
> ==>Apache24
> ==>Microsoft visual c++ 2015-2022 redistributable
> 
> On Sat, 20 Jan 2024 at 01:29, Graham Dumpleton  > wrote:
>> This error generally indicates you have the wrong version or a badly 
>> installed version of the Microsoft Visual Studio build tools.
>> 
>> Try reinstalling Visual Studio Build Tools, making sure it is the correct 
>> version for the version of Python you are using. Since you are using an 
>> older version of Python, it may be an older version of the Visual Studio 
>> Build Tools that is required. Better still, upgrade you Python version to 
>> the latest.
>> 
>>> On 19 Jan 2024, at 11:20 pm, Ananth Mandli >> > wrote:
>>> 
>>>  Building wheel for mod_wsgi (setup.py) ... error
>>>   error: subprocess-exited-with-error
>>> 
>>>   × python setup.py bdist_wheel did not run successfully.
>>>   │ exit code: 1
>>>   ╰─> [375 lines of output]
>>> 
>>> 
>>> 
>>>   creating build\temp.win32-cpython-37\Release\src\server
>>>   "C:\Program Files (x86)\Microsoft Visual 
>>> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" /c 
>>> /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include 
>>> -Ic:\users\91915\appdata\local\programs\python\python37-32\include 
>>> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include 
>>> "-IC:\Program Files (x86)\Microsoft Visual 
>>> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program 
>>> Files (x86)\Microsoft Visual 
>>> Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c 
>>> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
>>> 
>>>   mod_wsgi.c
>>>   
>>> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
>>>  fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or 
>>> directory
>>> 
>>> 
>>>   error: command 'C:\\Program Files (x86)\\Microsoft Visual 
>>> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
>>>  failed with exit code 2
>>>   [end of output]
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "modwsgi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to modwsgi+unsubscr...@googlegroups.com 
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
>>>  
>>> .
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to modwsgi+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/modwsgi/2514DFA1-2CAE-435E-8325-939097C0BB47%40gmail.com
>>  
>> .
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to modwsgi+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/CAH3LPqmjFV6sg6kSHHJqqWZ0rparapAVn-dEgJdj%3DJvz6qjUTA%40mail.gmail.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/63F42868-4C20-4BBE-B717-DC5E85510393%40gmail.com.


Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Ananth Mandli
I don't know What's wrong i did


Collecting mod_wsgi==4.5.24
  Using cached mod_wsgi-4.5.24.tar.gz (2.6 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: mod_wsgi
  Building wheel for mod_wsgi (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [375 lines of output]

On Sat, 20 Jan 2024 at 11:07, Ananth Mandli  wrote:

> I am using
> ==> Python 3.11.1
> ==>Apache24
> ==>Microsoft visual c++ 2015-2022 redistributable
>
> On Sat, 20 Jan 2024 at 01:29, Graham Dumpleton 
> wrote:
>
>> This error generally indicates you have the wrong version or a badly
>> installed version of the Microsoft Visual Studio build tools.
>>
>> Try reinstalling Visual Studio Build Tools, making sure it is the correct
>> version for the version of Python you are using. Since you are using an
>> older version of Python, it may be an older version of the Visual Studio
>> Build Tools that is required. Better still, upgrade you Python version to
>> the latest.
>>
>> On 19 Jan 2024, at 11:20 pm, Ananth Mandli 
>> wrote:
>>
>>  Building wheel for mod_wsgi (setup.py) ... error
>>   error: subprocess-exited-with-error
>>
>>   × python setup.py bdist_wheel did not run successfully.
>>   │ exit code: 1
>>   ╰─> [375 lines of output]
>>
>>
>>
>>   creating build\temp.win32-cpython-37\Release\src\server
>>   "C:\Program Files (x86)\Microsoft Visual
>> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" /c
>> /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include
>> -Ic:\users\91915\appdata\local\programs\python\python37-32\include
>> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include
>> "-IC:\Program Files (x86)\Microsoft Visual
>> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program
>> Files (x86)\Microsoft Visual
>> Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c
>> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
>>
>>   mod_wsgi.c
>>
>> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
>> fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or
>> directory
>>
>>
>>   error: command 'C:\\Program Files (x86)\\Microsoft Visual
>> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
>> failed with exit code 2
>>   [end of output]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to modwsgi+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
>> 
>> .
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to modwsgi+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/modwsgi/2514DFA1-2CAE-435E-8325-939097C0BB47%40gmail.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/CAH3LPqnH2NXA_vc%3DZs5T9VkVAED1Rd_dM_kkbZE8kzZKY4YbyQ%40mail.gmail.com.


Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Ananth Mandli
I am using
==> Python 3.11.1
==>Apache24
==>Microsoft visual c++ 2015-2022 redistributable

On Sat, 20 Jan 2024 at 01:29, Graham Dumpleton 
wrote:

> This error generally indicates you have the wrong version or a badly
> installed version of the Microsoft Visual Studio build tools.
>
> Try reinstalling Visual Studio Build Tools, making sure it is the correct
> version for the version of Python you are using. Since you are using an
> older version of Python, it may be an older version of the Visual Studio
> Build Tools that is required. Better still, upgrade you Python version to
> the latest.
>
> On 19 Jan 2024, at 11:20 pm, Ananth Mandli  wrote:
>
>  Building wheel for mod_wsgi (setup.py) ... error
>   error: subprocess-exited-with-error
>
>   × python setup.py bdist_wheel did not run successfully.
>   │ exit code: 1
>   ╰─> [375 lines of output]
>
>
>
>   creating build\temp.win32-cpython-37\Release\src\server
>   "C:\Program Files (x86)\Microsoft Visual
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" /c
> /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include
> -Ic:\users\91915\appdata\local\programs\python\python37-32\include
> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include
> "-IC:\Program Files (x86)\Microsoft Visual
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program
> Files (x86)\Microsoft Visual
> Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcsrc/server\mod_wsgi.c
> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
>
>   mod_wsgi.c
>
> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
> fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or
> directory
>
>
>   error: command 'C:\\Program Files (x86)\\Microsoft Visual
> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
> failed with exit code 2
>   [end of output]
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to modwsgi+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
> 
> .
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to modwsgi+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/2514DFA1-2CAE-435E-8325-939097C0BB47%40gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/CAH3LPqmjFV6sg6kSHHJqqWZ0rparapAVn-dEgJdj%3DJvz6qjUTA%40mail.gmail.com.


Re: [modwsgi] I am unable to install mod_wsgi in windows 11

2024-01-19 Thread Graham Dumpleton
This error generally indicates you have the wrong version or a badly installed 
version of the Microsoft Visual Studio build tools.

Try reinstalling Visual Studio Build Tools, making sure it is the correct 
version for the version of Python you are using. Since you are using an older 
version of Python, it may be an older version of the Visual Studio Build Tools 
that is required. Better still, upgrade you Python version to the latest.

> On 19 Jan 2024, at 11:20 pm, Ananth Mandli  wrote:
> 
>  Building wheel for mod_wsgi (setup.py) ... error
>   error: subprocess-exited-with-error
> 
>   × python setup.py bdist_wheel did not run successfully.
>   │ exit code: 1
>   ╰─> [375 lines of output]
> 
> 
> 
>   creating build\temp.win32-cpython-37\Release\src\server
>   "C:\Program Files (x86)\Microsoft Visual 
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\cl.exe" /c 
> /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\xampp\apache/include 
> -Ic:\users\91915\appdata\local\programs\python\python37-32\include 
> -Ic:\users\91915\appdata\local\programs\python\python37-32\Include 
> "-IC:\Program Files (x86)\Microsoft Visual 
> Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files 
> (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" 
> /Tcsrc/server\mod_wsgi.c 
> /Fobuild\temp.win32-cpython-37\Release\src/server\mod_wsgi.obj
> 
>   mod_wsgi.c
>   
> C:\Users\91915\AppData\Local\Temp\pip-install-8p707y44\mod-wsgi_03760927e1fe4d73a104f496ddd3278c\src\server\wsgi_apache.h(39):
>  fatal error C1083: Cannot open include file: 'ws2tcpip.h': No such file or 
> directory
> 
> 
>   error: command 'C:\\Program Files (x86)\\Microsoft Visual 
> Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x86\\cl.exe'
>  failed with exit code 2
>   [end of output]
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to modwsgi+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/a0e4c5a3-20c4-4c3b-8d63-d847796250b7n%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/2514DFA1-2CAE-435E-8325-939097C0BB47%40gmail.com.