Hello everyone
Recently I wanted to install web python in windows 10 with mod_wsgi

 The idea is to follow the same way like apache + PHP
Loading mod to enable

Then I google it...
Found that the main problem is need to find out the current version of apache is the most important
Start here to download the corresponding version of their current apache and python version
 
 

Because I was originally installed wamp 2.4.9

So this election apache 2.4.9 + python 3.4 environment
So we must go to download python 3.4
Like this


 
 
in the mod_wsgi-4.4.21 + ap24vc10-cp34-none-win_amd64.whl decompress
there has mod_wsgi.so
This put the apache modules folder

 
then edit httpd.conf
add this...
 
#load mod
LoadModule wsgi_module modules/mod_wsgi.so

#setup url,like request http://localhost/wsgi will run index.py
WSGIScriptAlias /wsgi "D:/wamp/www/python_web/index.py"

#select python path
WSGIPythonHome "C:/Python34"

#setup dir
<Directory "D:/wamp/www/python_web">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
 

So basically to be able to run python on apache.
However, I encountered a problem here
That is, if there is an error in python.
It will directly return a server error
But not like PHP will complain error in page
have to see the error log in apache's log!
So it is a trouble...
But this is the first step only
I still have to learn

Thank you!