使用 Windows 7 64x。我已经安装了 Python 3.3.2。我已经下载了 MOD_WSGI,http://code.google.com/p/modwsgi/wiki/DownloadTheSoftware?tm=2
我现在正在尝试遵循本教程:http ://code.google.com/p/modwsgi/wiki/InstallationOnWindows
我跑
nmake -f win32-ap22py31.mk
但我收到一个错误:
cl /DWIN32 /DNDEBUG /I"c:\Program Files\Microsoft Visual Studio 9.0\VC\include" /I"c:\Program Files\Microsoft SDKs\Windows\v6.0A\Include" /I"c:\Program Files\Apache Software Foundation\Apache2.2\include" /I"c:\Python31\include" /MD /GF /Gy /O2 /Wall /Zc:wchar_t /Zc:forScope mod_wsgi.c /LD /link "/LIBPATH:c:\Program Files\Microsoft Visual Studio 9.0\VC\lib" "/LIBPATH:c:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" "/LIBPATH:c:\Program Files\Apache Software Foundation\Apache2.2\lib" /LIBPATH:c:\Python31\libs /OPT:REF /OPT:ICF=2 /RELEASE /SUBSYSTEM:WINDOWS python31.lib libhttpd.lib libapr-1.lib libaprutil-1.lib /OUT:mod_wsgi.so
mod_wsgi.c
mod_wsgi.c(34) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory