sean Thanks 😃
Well we created a virtual env and install all dependances of both projects and we obtained this error when we run Apache2 (we changed in httpd.conf this:
/home/{OpalUser}/apps/{myapp}/lib/python2.7 -> /home/{OpalUser}/apps/{myapp}/env)
[Wed Dec 16 01:01:53.723176 2020] [wsgi:error] [pid 240845:tid 140655410722560] [remote ::1:41240] from django.core.wsgi import get_wsgi_application
[Wed Dec 16 01:01:53.723196 2020] [wsgi:error] [pid 240845:tid 140655410722560] [remote ::1:41240] ImportError: No module named django.core.wsgi
[Wed Dec 16 01:01:53.816825 2020] [wsgi:error] [pid 240845:tid 140655263209216] [remote 127.0.0.1:49356] mod_wsgi (pid=240845): Target WSGI script '/home/ccr/apps/django_ccr_apache/ccr-web/wsgi.py' cannot be loaded as Python module.
[Wed Dec 16 01:01:53.816866 2020] [wsgi:error] [pid 240845:tid 140655263209216] [remote 127.0.0.1:49356] mod_wsgi (pid=240845): Exception occurred processing WSGI script '/home/{OpalUser}/apps/{myapp}/{myproject}/wsgi.py'.
[Wed Dec 16 01:01:53.816915 2020] [wsgi:error] [pid 240845:tid 140655263209216] [remote 127.0.0.1:49356] Traceback (most recent call last):
[Wed Dec 16 01:01:53.816964 2020] [wsgi:error] [pid 240845:tid 140655263209216] [remote 127.0.0.1:49356] File "/home/ccr/apps/django_ccr_apache/ccr-web/wsgi.py", line 23, in <module>
[Wed Dec 16 01:01:53.817029 2020] [wsgi:error] [pid 240845:tid 140655263209216] [remote 127.0.0.1:49356] from django.core.wsgi import get_wsgi_application
[Wed Dec 16 01:01:53.817071 2020] [wsgi:error] [pid 240845:tid 140655263209216] [remote 127.0.0.1:49356] ImportError: No module named django.core.wsgi
We didn't install this dependance in our requiriment file.