Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

78
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda