This is likely because you are using mod_php in same Apache. A huge problem with Anaconda Python is it provides its own system libraries for lots of stuffs. One of the libraries which is incompatible with system libraries is an image library. Because PHP modules use system library, that gets precedence and then Anaconda Python modules will fail.
If you are not using PHP disable its module in Apache. You will not be able to use PHP and mod_wsgi in the same Apache if wanting to use Anaconda Python. > On 31 Oct 2018, at 4:20 am, Andres <[email protected]> wrote: > > That did it, XAMPP supplies the apxs script. Although, it seems like I've run > into another error with that has to do with anaconda libraries. Apache starts > successfully, but accessing the django site gives a 500 error, here is a > portion of the error log: > > [Tue Oct 30 09:48:47.067791 2018] [wsgi:error] [pid 2538] [remote > 127.0.0.1:52130] ImportError: > dlopen(/Users/Andres/Applications/miniconda/envs/testEnv/lib/python3.6/lib-dynload/_scproxy.cpython-36m-darwin.so, > 2): Symbol not found: __cg_jpeg_resync_to_restart > [Tue Oct 30 09:48:47.067800 2018] [wsgi:error] [pid 2538] [remote > 127.0.0.1:52130] Referenced from: > /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO > [Tue Oct 30 09:48:47.067807 2018] [wsgi:error] [pid 2538] [remote > 127.0.0.1:52130] Expected in: > /Applications/XAMPP/xamppfiles/lib/libjpeg.8.dylib > [Tue Oct 30 09:48:47.067813 2018] [wsgi:error] [pid 2538] [remote > 127.0.0.1:52130] in > /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO > > -- > 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.
