If your Apache (preferably apachelounge.com <http://apachelounge.com/> distribution), is in C:/Apache24 you don't need to set that environment variable as it will use that location anyway. If you did need to set it because it was in a different location, don't use a backward slash, use a forward slash, eg., C:/Apache2.4 and not C:\Apache24.
What was the original error message when you were setting it? BTW, I don't recommend 32 bits, use 64 bits for everything. So ensure have 64 bit Python, Apache and MS C compiler. Why do you specifically need 32 bit? Graham > On 9 Jun 2018, at 9:43 pm, samira Ellouze <[email protected]> wrote: > > Hello, > I try to install mod_wsgi with the command > pip install mod_wsgi > > but the following error display : > > C:\Python36-32\Scripts>pip install mod_wsgi > Collecting mod_wsgi > Using cached > https://files.pythonhosted.org/packages/9e/37/dd336068ece37c43957aa337f25c59a9a6afa98086e5507908a2d21ab807/mod_wsgi-4.6.4.tar.gz > Complete output from command python setup.py egg_info: > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "C:\Users\lenovo\AppData\Local\Temp\pip-install-r8og_37s\mod-wsgi\setup.py", > line 149, in <module> > APACHE_ROOTDIR) > RuntimeError: The Apache directory '"C:\\Apache24"' does not exist. > > ---------------------------------------- > Command "python setup.py egg_info" failed with error code 1 in > C:\Users\lenovo\AppData\Local\Temp\pip-install-r8og_37s\mod-wsgi\ > > in fact, at the begin, I did not have this error, I have an other error which > I try to solve it by this command: > set MOD_WSGI_APACHE_ROOTDIR="C:\Apache24" > > please could you help me to solve this error > I have python 3.6 32bits > > -- > 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.
