brilliant that worked, Thank you very much for your time and help.
I went the homebrew route of apache. Ive at least installed it now. but now Ill try and go through the process of configuring a wsgi express server in a venv. thank you. and hopefully wont need to bother you again. ;-) On Wed, Nov 28, 2018 at 10:43 PM Graham Dumpleton < [email protected]> wrote: > On macOS, if using Apache from Apple, you need to have Xcode command line > tools and Xcode app installed. > > Otherwise, need to have Apache from homebrew installed, be using it, and > ensure that set APXS variable to location of 'apps' from homebrew if it > isn't being found correctly. > > APXS=/usr/local/bin/apxs pip install --no-cache-dir mod_wsgi > > Using --no-cache-dir to make sure doesn't pick up ant pre-compiled results > from prior install using Apple Apache. > > On 29 Nov 2018, at 1:30 am, Kye Huelin <[email protected]> wrote: > > this is frustrating me. > > i cant get the module installed either from venv or global , and I dont > know how to move forward from here. > > Any help much appreciated. > > > > Collecting mod_wsgi > Using cached > https://files.pythonhosted.org/packages/47/69/5139588686eb40053f8355eba1fe18a8bee94dc3efc4e36720c73e07471a/mod_wsgi-4.6.5.tar.gz > Complete output from command python setup.py egg_info: > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/private/tmp/pip-install-xwo4z0m_/mod-wsgi/setup.py", line > 330, in <module> > APR_INCLUDES = get_apr_includes().split() > File "/private/tmp/pip-install-xwo4z0m_/mod-wsgi/setup.py", line > 284, in get_apr_includes > stdout=subprocess.PIPE, stderr=subprocess.PIPE) > File > "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", > line 709, in __init__ > restore_signals, start_new_session) > File > "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", > line 1344, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: > '/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config': > '/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config' > > > ---------------------------------------- > Command "python setup.py egg_info" failed with error code 1 in > /private/tmp/pip-install-xwo4z0m_/mod-wsgi/ > > -- > 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. > > > -- > 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. > -- 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.
