Search code examples
pythonpandasamazon-web-servicesaws-glue

Pandas not working in AWS GLUE 4.0 version


Pandas not working in AWS GLUE 4.0 version:-

I tried importing pandas in AWS Glue 4.0 but getting following error, pandas is working in AWS Glue 3.0 version but not in 4.0.

ModuleNotFoundError: No module named '_bz2'


Solution

  • I have also encountered this issue and have contacted AWS support about it. It appears that it is an AWS issue and is happening to anyone who uses it. They are currently working on a fix.