At a guess, you only have Python 3 installed and it doesn't provide a link from 
python to python3, plus you don't have Apache devel package installed either.

Ensure you install the appropriate Apache devel package for you your operating 
system variant.

Then use:

    ./configure --with-python python3

to tell configure the name of the Python program.

Graham

> On 7 Apr 2021, at 7:54 am, Satinder Singh <[email protected]> wrote:
> 
> I am trying to follow this documentation here:
> 
> https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html
> 
> However, when I execute .configure (to configure the source code of 
> mod_wsgi), I keep getting the following errors:
> 
> checking for python... no
> 
> ./configure: line 2849: python: command not found
> 
> ./configure: line 2853: python: command not found
> 
> ./configure: line 2861: python: command not found
> 
> ./configure: line 2866: python: command not found
> 
> ./configure: line 2880: python: command not found
> 
> ./configure: line 2884: python: command not found
> 
> ./configure: line 2887: python: command not found
> 
> ./configure: line 2890: python: command not found
> 
> ./configure: line 2893: python: command not found
> 
> ./configure: line 2919: python: command not found
> 
> ./configure: line 2922: python: command not found
> 
> ./configure: line 2964: apxs: command not found
> 
> configure: creating ./config.status
> 
> config.status: creating Makefile
> 
> 
> 
> What is a solution to this? Please advise.
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/19c29353-9669-4844-a01e-d32c5f133064n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/19c29353-9669-4844-a01e-d32c5f133064n%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/BDF1EA73-60EC-478B-89AC-3DBB5A8FC1CA%40gmail.com.

Reply via email to