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

333
Views
ImportError: ningún módulo llamado apio con django en virtual env

Soy bastante nuevo en Django. Estoy ejecutando un servidor con un proyecto django existente en entorno virtual, pero me encuentro con un error

"ImportError: ningún módulo llamado apio".

Así que ejecuté sudo pip install celery y el resultado fue "Instalado con éxito celery billiard pytz kombu amqp vine".

python manage.py runserver 0.0.0.0:8000 nuevamente, pero el resultado fue el mismo.

¿Porqué es eso? ¿Qué debo hacer para ejecutar el servidor con mi proyecto Django existente?

Mi archivo manage.py es como:

 #!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "vex.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the # issue is really that Django is missing to avoid masking other # exceptions on Python 2. try: import django except ImportError: raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) raise execute_from_command_line(sys.argv)

Mi versión de django-admin es 1.11.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Si está en un virtualenv, no instale con sudo ya que ignora el virtualenv. Solo haz pip install celery .

about 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!