If you can get back to everything being all 32 bit, or all 64 bit, that is for
Python, Apache and compiler, and you have ‘pip’ installed and ‘pip' works for a
package which has a C extension which needs to be compiled, you can always try
doing:
pip install mod_wsgi
and see if it builds and installs.
This works for Python 3.5 and Apache 2.4, but not tested with other versions.
It expects Apache to be installed in ‘C:\Apache2.4’. If you have it elsewhere,
set the environment variable like:
MOD_WSGI_APACHE_ROOTDIR=C:\Apache2.4
before running ‘pip’.
If can get that far, then run:
mod_wsgi-express module-config
and it will output what you need to put in the Apache configuration file to
load mod_wsgi.
Graham
> On 15 Dec 2016, at 8:02 PM, [email protected] wrote:
>
> these are the errors:
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directorywsgi_metrics.c
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directorywsgi_restrict.c
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directorywsgi_server.c
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directorywsgi_stream.c
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directorywsgi_thread.c
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directorywsgi_validate.c
> c:\users\oferso\desktop\mod_wsgi-develop\src\server\wsgi_python.h(24) : fatal
> error C1083: Cannot open include file: 'Python.h': No such file or
> directoryGenerating Code...
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\BIN\x86_amd64\cl.EXE"' : return code '0x2'
> Stop.
>
> On Thursday, December 15, 2016 at 10:54:04 AM UTC+2, [email protected] wrote:
> I'm following the steps from:
> https://github.com/GrahamDumpleton/mod_wsgi/tree/develop/win32
> <https://github.com/GrahamDumpleton/mod_wsgi/tree/develop/win32>
>
> I've installed VCForPython27 from:
> https://www.microsoft.com/en-us/download/details.aspx?id=44266
> <https://www.microsoft.com/en-us/download/details.aspx?id=44266>
>
> I have python 2.7.9 32 bit.
>
> I have Apache 2.4.23 32 bit.
>
> I had all working, until I wanted to try the same Apache but 64 bit, and now
> I'm having problems compiling, or finding the relevant mod_wsgi bin online.
>
> On Wednesday, December 14, 2016 at 4:08:14 PM UTC+2, [email protected] <>
> wrote:
> Hi,
>
> I'm having problems compiling mod_wsgi.so for:
> Apache/2.4.20 (Win64)
> Python2.7
> VC9
>
> does someone has the compiled binary for these options?
>
> Thanks,
> Ofer
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.