no apache installation can be found. set the mod_wsgi_apache_rootdir environment to its location.

The solution for “no apache installation can be found. set the mod_wsgi_apache_rootdir environment to its location.” can be found here. The following code will assist you in solving the problem.

By default the installation looks for Apache in C:\Apache24, C:\Apache22 and C:\Apache2, as your installation is none of these you need to set the environment variable MOD_WSGI_APACHE_ROOTDIR to the path you have installed it to.

On your system you would do this by running this in your command prompt:

set “MOD_WSGI_APACHE_ROOTDIR=F:\Apache24”

Which sets the variable, and then you can run the pip command (in the same command prompt):

pip install mod_wsgi

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in