I tried running the code as asked but got the same error as before. 

LDFLAGS=-lm pip install -U --no-cache-dir mod_wsgi 

I got the following log 

> Collecting mod_wsgi
>   Downloading mod_wsgi-4.5.3.tar.gz (1.8MB)
>     100% |████████████████████████████████| 1.8MB 18.0MB/s 
> Installing collected packages: mod-wsgi
>   Running setup.py install for mod-wsgi ... done
> Successfully installed mod-wsgi-4.5.3


I then ran 
mod_wsgi-express start-server

and got the following log and error

> Server URL         : http://localhost:8000/
> Server Root        : /tmp/mod_wsgi-localhost:8000:1027
> Server Conf        : /tmp/mod_wsgi-localhost:8000:1027/httpd.conf
> Error Log File     : /tmp/mod_wsgi-localhost:8000:1027/error_log (warn)
> Request Capacity   : 5 (1 process * 5 threads)
> Request Timeout    : 60 (seconds)
> Queue Backlog      : 100 (connections)
> Queue Timeout      : 45 (seconds)
> Server Capacity    : 20 (event/worker), 20 (prefork)
> Server Backlog     : 500 (connections)
> Locale Setting     : es_ES.UTF-8
> apache2 (mod_wsgi-express): Syntax error on line 151 of 
> /tmp/mod_wsgi-localhost:8000:1027/httpd.conf: Cannot load 
> /home/xarxes_ub/python_code/PythEnv/lib/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-i386-linux-gnu.so
>  
> into server: 
> /home/xarxes_ub/python_code/PythEnv/lib/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-i386-linux-gnu.so:
>  
> undefined symbol: fmod



*Temporary Fix *
I changed the program to run on Python 2 and was able to set up mod-wsgi 
successfully but I was really hoping it would work with python 3.


Thank you for the quick reply and your time 

-- 
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