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

244
Views
wsgi no puede encontrar módulos en virtualenv en weblate + apache2 + configuración de wsgi

Obtuve el weblate ejecutándose en modo de desarrollo con: 8000. Pero no puedo hacerlo funcionar en apache2 con wsgi dentro del entorno virtual, donde todo funcionó.

Según los errores de Apache, ni siquiera pudo encontrar Django instalado. Hice eso pero vi otro error de un módulo faltante. Está claro que wsgi no está respetando/buscando módulos en virtualenv para python.

Mi servidor es Ubuntu 19.04.

Por favor recomiende.

 <VirtualHost *:80> ServerName xxyyzz.com # DATA_DIR/static/favicon.ico Alias /favicon.ico xxyyzz/weblate-env/lib/python3.7/site-packages/data/static/favicon.ico # DATA_DIR/static/ Alias /static/ xxyyzz/weblate-env/lib/python3.7/site-packages/data/static/ <Directory xxyyzz/weblate-env/lib/python3.7/site-packages/data/static/> Require all granted </Directory> # DATA_DIR/media/ Alias /media/ xxyyzz/weblate-env/lib/python3.7/site-packages/data/media/ <Directory /home/weblate/data/media/> Require all granted </Directory> # Path to your Weblate virtualenv WSGIDaemonProcess weblate python-path=xxyyzz/weblate-env WSGIProcessGroup weblate WSGIApplicationGroup weblate WSGIScriptAlias / xxyyzz/weblate-env/lib/python3.7/site-packages/weblate/wsgi.py process-group=weblate WSGIPassAuthorization On <Directory xxyyzz/weblate-env/lib/python3.7/site-packages/weblate/> <Files wsgi.py> Require all granted </Files> </Directory> </VirtualHost>

Igual que: https://docs.weblate.org/en/latest/admin/install.html

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Resulta que la configuración del ejemplo es incorrecta, debería usar python-path en lugar de python-home para WSGIDaemonProcess . Acabo de arreglar esto en Weblate y probablemente también necesite ese cambio en su configuración.

over 4 years ago · Santiago Trujillo Report
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!