Apach24 and Django in Windows

I would be very grateful if anyone can help. I am trying to start Apache server on my laptop with Windows 11. I entered command "mod_wsgi-express module-config" and got next:

LoadFile "C:/Program Files/WindowsApps/PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0/python310.dll" LoadModule wsgi_module "C:/Users/Sergey/ProgPython/CabeeFashion/my_env1/lib/site-packages/mod_wsgi/server/mod_wsgi.cp310-win_amd64.pyd" WSGIPythonHome "C:/Users/Sergey/ProgPython/CabeeFashion/my_env1"

All these I added to httpd.conf file, but when I am trying to start httpd.exe, I am getting next error:cannot load

httpd.exe: Syntax error on line 539 of C:/Users/Sergey/ProgPython/CabeeFashion/Apache24/conf/httpd.conf: Syntax error on line 1 of C:/Users/Sergey/ProgPython/CabeeFashion/Apache24/conf/extra/httpd-wsgi.conf: Cannot load C:/Program Files/WindowsApps/PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0/python310.dll into server: \xce\xf2\xea\xe0\xe7\xe0\xed\xee \xe2 \xe4\xee\xf1\xf2\xf3\xef\xe5.

I used extart file httpd-wsgi.conf and included it in httpd.conf Include conf/extra/httpd-wsgi.conf

How can I fix this. Why http.exe says me cannot lod file, if it exists.

I have checked version of Apache and wsgi modules, all of them are 64. VC is installed.

Back to Top