Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

1.3K
Vistas
Fail: AttributeError: module 'collections' has no attribute 'Container'

I try to start python-pptx, but I have Error:

AttributeError: module 'collections' has no attribute 'Container'
in File "...\lib\site-packages\pptx_init_.py", line 14 

Use Python 3.10, python-pptx (0.6.21), lxmx (4.6.3).

Please, help me.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

It's a known issue for Python 3.10 as discussed in this issue. The workaround is to import both modules collections and collections.abc before importing pptx. For example:

import collections 
import collections.abc
from pptx import Presentation

This should resolve this error

over 4 years ago · Santiago Trujillo Denunciar

0

Problem solved, i chanched python 3.10 to python 3.9.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda