The permissions on all parent directories also need to allow Apache user to 
access the directories. So check parent directories and not just the virtual 
environment directory root directory.

Graham

> On 17 Oct 2018, at 12:22 pm, Andres <[email protected]> wrote:
> 
> I'm not quite sure if this is what you are asking for but this is the 
> error_log for XAMPP's apache:
> 
> Current thread 0x00007fffb7bd8380 (most recent call first):
> [Wed Oct 17 12:02:26.734997 2018] [core:notice] [pid 23121] AH00052: child 
> pid 23950 exit signal Abort trap (6)
> [Wed Oct 17 12:02:26.736033 2018] [core:notice] [pid 23121] AH00052: child 
> pid 23949 exit signal Abort trap (6)
> [Wed Oct 17 12:02:26.740362 2018] [wsgi:warn] [pid 23951] (13)Permission 
> denied: mod_wsgi (pid=23951): Unable to stat Python home 
> /Users/Andres/Applications/miniconda/envs/testEnv. Python interpreter may not 
> be able to be initialized correctly. Verify the supplied path and access 
> permissions for whole of the path.
> [Wed Oct 17 12:02:26.740523 2018] [wsgi:warn] [pid 23952] (13)Permission 
> denied: mod_wsgi (pid=23952): Unable to stat Python home 
> /Users/Andres/Applications/miniconda/envs/testEnv. Python interpreter may not 
> be able to be initialized correctly. Verify the supplied path and access 
> permissions for whole of the path.
> [Wed Oct 17 12:02:26.744104 2018] [wsgi:warn] [pid 23953] (13)Permission 
> denied: mod_wsgi (pid=23953): Unable to stat Python home 
> /Users/Andres/Applications/miniconda/envs/testEnv. Python interpreter may not 
> be able to be initialized correctly. Verify the supplied path and access 
> permissions for whole of the path.
> Fatal Python error: Py_Initialize: unable to load the file system codec
> ImportError: No module named 'encodings'
> 
> The permissions on my testEnv are:
> drwxr-xr-x  8 Andres  daemon  256 Sep 18 13:13 testEnv
> 
> I have successfully used XAMPP with mod_wsgi before, but that was using the 
> python venv.
> 
> 
> -- 
> 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.

Reply via email to