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

301
Views
Python/Apache/Server: no se pueden importar módulos

Tengo un script de python ejecutable que quiero ejecutar usando apache. Una impresión simple ('hola') funciona bien, sin embargo, falla si el script importa algún paquete. En este caso falla en 'importar pandas'.

estoy usando python versión 3.5.2

He instalado pandas con pip3 install pandas, y la instalación es exitosa. Si vuelvo a intentarlo, obtengo: Requisito ya satisfecho: seis>=1.5 en /usr/lib/python3/dist-packages (de python-dateutil>=2.5.0->pandas) (1.10.0)

¡He intentado iniciar el script con ambos #! /usr/bin/python y #! /usr/bin/env python

¿Por qué puede ser que no funcione? ¿Hay algún tipo de guía paso a paso para manejar esto?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Estas dos opciones me funcionaron: sudo apt-get install python3-pandas

o

sudo -H python3 -m pip instalar pandas

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!