Running Python Code on Xampp on windows platform -
xampp-python-windows
i have installed xampp. i'm running apache web server , mysql service. want host python code on web server. however, having hard time setting python xampp. read modwsgi, downloaded , pasted in modules folder. have python 3.2 installed on c drive.
please let me know should next, in should paste python files , how should execute them through web browser? should able this:
http://74.xxx.xxx.xx/python/test.py (localhost/python/test.py)
and should execute python code.
when try above, this:
server error!
the server encountered internal error , unable complete request. either server overloaded or there error in cgi script.
if think server error, please contact webmaster.
error 500
74.194.129.16 3/2/2011 2:11:16 apache/2.2.17 (win32) mod_ssl/2.2.17 openssl/0.9.8o php/5.3.4 mod_perl/2.0.4 perl/v5.10.1
all highly appreciated.
the official releases of mod_wsgi don't support python 3.2 cant use it. use python 3.2 need compile mod_wsgi source code in subversion repository suggest going bit beyond able based on problems having above. so, use python 2.6/2.7. see:
http://code.google.com/p/modwsgi/wiki/installationonwindows http://code.google.com/p/modwsgi/wiki/downloadthesoftware?tm=2#windows_binary_downloads
as daniel suggested suggest use flask. use web2py framework easy newbies. suggest if starting learn stuff not use apache/mod_wsgi , instead use inbuilt development server provided python web framework use. save lot of headaches if know nothing apache.
Comments
Post a Comment