Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

83
Vistas
Django installation issues

I configured Django and Apache on an ec2 server with a connection to a remote rds server, which is working fine. I can access the ec2 server and the database (via ssh to the ec2 server and then to the rds server), I tried to run a migration with sudo python manage.py and it worked; the database shows my tables.

I use a virtual environment with the Python mod_wsgi installed which is loaded in the apache2.conf and in the 000-default.conf. I have the wsgi daemon process, and script references.

When I try to run the application through my browser I get a 500 internal server error with the following error message:

django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient? mod_wsgi (pid=7875): Target WSGI script '/var/www/wuyeguanli/wuyeapp/wuyeapp/wsgi.py' does not contain WSGI application 'application'.

the complete error message:
the complete error message

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

the first time around i installed the python packages in both root and the virtual environment. doing a clean configuration solved the problem.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda