Was that with the Python virtual environment activated?
Usually the PATH should be inherited through the sudo and so it will be found.
It is possible your sudo setup is a bit different to what I would expect.
In that case do:
which mod_wsgi-express
and then:
sudo /some/path/mod_wsgi-express install-module
where /some/path/mod_wsgi-express is the path that ‘which’ produced.
If ‘which’ can’t find it, you don’t have the virtual environment activated, or
something else odd about it.
> On 12 May 2016, at 10:18 AM, Jaqen Nki <[email protected]> wrote:
>
>> Sorry, Im getting a command not found error, even though mod-wsgi is
>> defintely installed in the venv lib, and apaches working, both sudo and non
>> sudo:
>
> sudo mod_wsgi-express install-module
>
> sudo: mod_wsgi-express: command not found
>
> mod_wsgi-express: command not found
>
>
> --
> 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.