Graham Dumpleton
Graham Dumpleton
You don't have the Python development package installed. It needs to be installed before you can install any Python package that has a C extension component. From memory it is...
At a guess you should have: ``` WSGIPythonPath / "C:/Apache24/htdocs/Cadastro/projeto_cad_usuarios" ``` You had it pointing at the wrong directory. It should point to the parent directory of where your project...
My mistake, I just copied what you had, which was in part wrong to start with ignoring the path issue. Use: ``` WSGIPythonPath "C:/Apache24/htdocs/Cadastro/projeto_cad_usuarios" ``` It should only be given...
At the very start of the `wsgi.py` file, before any imports, add: ``` import sys print(sys.path) ``` What is the value for `sys.path` that is printed out into the logs?
You need to make a request to the WSGI application else you will not see the message as the `wsgi.py` file will only be loaded when first request arrives. You...
Using your web browser go to the same URL you have been using to try and access the application. The output of any `print()` statements in the `wsgi.py` should be...
Those last of logs with the exception traceback do not show any output that I can see corresponding to the lines: ``` import sys print(sys.path) ``` which I told you...
Did you ever sort this out? I have been travelling and so lots of stuff got neglected. Now only back and trying to catch up.
Not sure how you are getting an error which shows a `Makefile` as the `pip install mod_wsgi` method shouldn't use one. Do note that if building mod_wsgi from source code...
As I already indicated, you need to ensure that you have the Apache development packages installed. If you don't the files it requires for linking may be missing and strange...