Command "python setup.py egg_info" failed with error code 1 in C:\Users\lenovo\AppData\Local\Temp\pip-install-ovg65du7\mod-wsgi\

644 views
Skip to first unread message

samira Ellouze

unread,
Jun 9, 2018, 4:50:10 PM6/9/18
to modwsgi
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
    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

Graham Dumpleton

unread,
Jun 10, 2018, 2:19:46 AM6/10/18
to mod...@googlegroups.com
If your Apache (preferably 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

--
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 modwsgi+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages