Need help installing mod_wsgi for Python on Windows 8 running Apache 2.10

I am starting to write some python CGI scripts.  Need to configure my Apache to run python CGI.  
My environment: Apache 2.10 and Python 3.3 on windows 8.1.  I assume mod_wsgi is most commonly used.  

Where do I download it, what version, and how to install it?

Who is Participating?
Since you are not familiar with compiling programs on windows I really recommend that you lean towards binary package.

It tells you need apache header files installed, and next it will ask for C compiler like visual studio... Learn on other machine, not one where you intend to have long lived webserver...
First make choice between Apache 2.2 and Apache 2.4
Why not long-term python 2.7? You can upgrade it in place until 2020 keeping modules intact.
Usually you install python modules with pip or easy_install, but not having visual studio or mingw you can also download precompiled binaries for your windows bitness + apache version + python version.

Rest is same as unix...
cpeters5Author Commented:
I tried pip but got the following error. Any idea?

C:\Users\pax\Pictures\Orchids    C:\Projects\Orchids\Web

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "c:\users\pax\appdata\local\temp\pip_build_pax\mod-wsgi\", line 141, in <module>

    'missing Apache httpd server packages.' % APXS)

RuntimeError: The 'apxs' command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

cpeters5Author Commented:
Thank you gheist.   I am new at this (not a professional web developer.)  So thank you for being very patient with me.  I just wanted to build a quick prototype to demonstrate an idea.  Actual full size development will come later and may or may not be in python.  For now, a Dell Laptop is my platform of choice.  

I downloaded the precompiled version and copied the file mo_wsgi to Apache/modules.  However, I have no idea where the installer placed the executable or what is the file name!

cpeters5Author Commented:
OK, I get it, the mo_wsgi IS the executable.
Will try it later this afternoon.
mod_wsgi.dll must be it...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.