Hi Graham, thanks for your reply and your help. At the end I resolved the issue with the admin. Best Sebastian
Am Di., 22. Sept. 2020 um 22:51 Uhr schrieb Graham Dumpleton < [email protected]>: > When trying to install mod_wsgi-standalone package, since you have a > failed build from prior attempt with mod_wsgi package, use: > > pip install -U --no-cache-dir -v -v -v mod_wsgi-standalone > > If that doesn't work, little that can be done if don't have root access to > install Apache system wide properly. > > Note that the -v -v -v is intentional and causes pip to output more logs. > I would need to see more of the messages around where the failure occurs to > comment more about why it is failing. Most likely your system is missing > other packages that is required to build Apache. > > On 23 Sep 2020, at 12:26 am, Licht Artig <[email protected]> > wrote: > > Hi, > > I am currently trying to install mod_wsgi on a server without root access. > Since the server did not have the packages apache2-dev and libapr1-dev > installed, which I believe are necessary for mod_wsgi to work, I downloaded > and unpacked them and added their ./usr/bin directories to $PATH. > > Finally, I tried to install mod_wsgi via pip3 for the local user, however > I get the following error: > *FileNotFoundError: [Errno 2] No such file or directory: > '/usr/bin/apr-1-config': '/usr/bin/apr-1-config'* > Which makes sense, because the apr-1-config file ist not in that directory > but instead in $HOME/libapr1-dev/usr/bin. Is there any way I can let the > installation script know to look in this directory instead? > > Sidenote: As a quick workaround I also tried to install > mod_wsgi-standalone, which however gives the following error: > *RuntimeError: Failed to build APR.* > > Thanks in advance! > > Best, > Sebastian > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/66753beb-b300-4961-9485-319b8d4776d1n%40googlegroups.com > <https://groups.google.com/d/msgid/modwsgi/66753beb-b300-4961-9485-319b8d4776d1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/CBD95EE9-327C-423A-82BD-71A15ECADC09%40gmail.com > <https://groups.google.com/d/msgid/modwsgi/CBD95EE9-327C-423A-82BD-71A15ECADC09%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/CA%2B%2BvfruH98L1dM8Yich-ikcifV%2BH_vZV--vb7NiF%3DsiU8L0yoA%40mail.gmail.com.
