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?

Thanks
pax
cpeters5Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
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...
0
cpeters5Author Commented:
I tried pip but got the following error. Any idea?


<code>
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\setup.py", 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.

----------------------------------------
</code>
0
gheistCommented:
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...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

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!

pax
0
cpeters5Author Commented:
OK, I get it, the mo_wsgi IS the executable.
Will try it later this afternoon.
0
gheistCommented:
mod_wsgi.dll must be it...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Python

From novice to tech pro — start learning today.