Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
Django & gunicorn da error: ImportError Ningún módulo llamado 'vp.wsgi'

Cuando trato de verificar el estado de gunicorn, aparece el siguiente error:

 gunicorn.service - gunicorn daemon Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2017-04-22 19:23:39 UTC; 10min ago Main PID: 7295 (code=exited, status=3) Apr 22 19:23:39 vp-first gunicorn[7295]: return util.import_app(self.app_uri) Apr 22 19:23:39 vp-first gunicorn[7295]: File "/home/tony/vp/vpenv/lib/python3.5/site-packages/guni Apr 22 19:23:39 vp-first gunicorn[7295]: __import__(module) Apr 22 19:23:39 vp-first gunicorn[7295]: ImportError: No module named 'vp.wsgi' Apr 22 19:23:39 vp-first gunicorn[7295]: [2017-04-22 19:23:39 +0000] [7300] [INFO] Worker exiting (pi Apr 22 19:23:39 vp-first gunicorn[7295]: [2017-04-22 19:23:39 +0000] [7295] [INFO] Shutting down: Mas Apr 22 19:23:39 vp-first gunicorn[7295]: [2017-04-22 19:23:39 +0000] [7295] [INFO] Reason: Worker fai Apr 22 19:23:39 vp-first systemd[1]: gunicorn.service: Main process exited, code=exited, status=3/NOT Apr 22 19:23:39 vp-first systemd[1]: gunicorn.service: Unit entered failed state. Apr 22 19:23:39 vp-first systemd[1]: gunicorn.service: Failed with result 'exit-code'.

Dice ImportError: ningún módulo llamado 'vp.wsgi'

Cuando edito mi archivo de configuración de gunicorn, aparece lo siguiente:

 [Unit] Description=gunicorn daemon After=network.target [Service] User=tony Group=www-data WorkingDirectory=/home/tony/vp/vp ExecStart=/home/tony/vp/vpenv/bin/gunicorn --workers 3 --bind unix:/home/tony/vp/vp/vp.sock vp.wsgi:$ [Install] WantedBy=multi-user.target

Debo señalar que mi archivo wsgi.py se encuentra:

 ~/vp/vp/vp/vp/wsgi.py

Mi virtualenv se encuentra en:

 ~/vp/vpenv

Mi configuración se encuentra en:

 ~/vp/vp/vp/config/settings/production.py

Supongo que hay algo mal con mi ruta, pero he intentado muchas cosas y no funcionan. ¿Alguna sugerencia?

¡Gracias de antemano!

PD: no puedo encontrar ningún archivo .sock

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!